avoid rare race condition when saving draft message

This commit is contained in:
Daniel Gultsch 2017-04-25 18:16:55 +02:00
parent 4d1308e138
commit 8e0fb6a23a
1 changed files with 1 additions and 0 deletions

View File

@ -1131,6 +1131,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