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

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