From 6ac1c00d00eee7a71370ffcc804dd0ab831c4ee2 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 2 Jan 2019 09:36:22 +0100 Subject: [PATCH] clear conversationsuuid and pending attachments when opening new conversation --- .../eu/siacs/conversations/ui/ConversationFragment.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java index 37dcbd4dd..d70bfe6b6 100644 --- a/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java +++ b/src/main/java/eu/siacs/conversations/ui/ConversationFragment.java @@ -2712,6 +2712,12 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke if (pendingTakePhotoUri.clear()) { 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() {