mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-28 11:42: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.clear();
|
||||||
mPendingFileUris.addAll(extractUriFromIntent(data));
|
mPendingFileUris.addAll(extractUriFromIntent(data));
|
||||||
if (xmppConnectionServiceBound) {
|
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());
|
attachFileToConversation(getSelectedConversation(), i.next());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user