clear conversationsuuid and pending attachments when opening new conversation

This commit is contained in:
Daniel Gultsch 2019-01-02 09:36:22 +01:00
parent a849c34f56
commit 6ac1c00d00
1 changed files with 6 additions and 0 deletions

View File

@ -2712,6 +2712,12 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
if (pendingTakePhotoUri.clear()) { if (pendingTakePhotoUri.clear()) {
Log.e(Config.LOGTAG, "cleared pending photo uri"); Log.e(Config.LOGTAG, "cleared pending photo uri");
} }
if (pendingConversationsUuid.clear()) {
Log.e(Config.LOGTAG,"cleared pending conversations uuid");
}
if (pendingMediaPreviews.clear()) {
Log.e(Config.LOGTAG,"cleared pending media previews");
}
} }
public Conversation getConversation() { public Conversation getConversation() {