aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-01-03 21:39:54 +0100
committerChristian Schneppe <christian@pix-art.de>2019-01-03 21:39:54 +0100
commit5f79aa085d74dadabd475cfc51e4a214ccfaf0ad (patch)
treee0d4240ca0e634799f56ced34035bc0681fb93e4 /src
parent0d01a9a0ca26c224c28bf994cbe131732c4fda05 (diff)
clear conversationsuuid and pending attachments when opening new conversation
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
index cd0a6e4d6..c2bc94263 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -3070,6 +3070,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");
+ }
}
private int messageInputBubble() {