mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 03:32:15 -05:00
fixed with attaching wrong files when returning to activity and background service is still alive
This commit is contained in:
parent
8064832dca
commit
3cdac228f9
@ -1039,7 +1039,7 @@ public class ConversationActivity extends XmppActivity
|
||||
mPendingFileUris.clear();
|
||||
mPendingFileUris.addAll(extractUriFromIntent(data));
|
||||
if (xmppConnectionServiceBound) {
|
||||
for(Iterator<Uri> i = mPendingImageUris.iterator(); i.hasNext(); i.remove()) {
|
||||
for(Iterator<Uri> i = mPendingFileUris.iterator(); i.hasNext(); i.remove()) {
|
||||
attachFileToConversation(getSelectedConversation(), i.next());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user