clear conversationsuuid and pending attachments when opening new conversation

Daniel Gultsch created

Change summary

src/main/java/eu/siacs/conversations/ui/ConversationFragment.java | 6 +
1 file changed, 6 insertions(+)

Detailed changes

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() {