aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-04-26 20:20:02 +0200
committerChristian Schneppe <christian@pix-art.de>2017-04-26 20:20:02 +0200
commit1a844e3cd5dc1ce87eda13e5902f7bad31a918df (patch)
tree8c800102bf2a4594ecdb1fadd1b6958d19fd7fd5 /src/main/java/de
parent3b6daca1c84282ae0530fd76cdf772476d815382 (diff)
avoid rare race condition when saving draft message
Diffstat (limited to 'src/main/java/de')
-rw-r--r--src/main/java/de/pixart/messenger/ui/ConversationFragment.java1
1 files changed, 1 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 3b5e4b212..c9fc7aeb2 100644
--- a/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
+++ b/src/main/java/de/pixart/messenger/ui/ConversationFragment.java
@@ -1165,6 +1165,7 @@ public class ConversationFragment extends Fragment implements EditMessage.Keyboa
mEditMessage.append(conversation.getDraftMessage());
conversation.setDraftMessage(null);
}
+ conversation.setNextMessage(mEditMessage.getText().toString());
updateChatMsgHint();
new Handler().post(new Runnable() {
@Override