Check for and clear quote on new intent.

Fixes #9478
master
Alan Evans 2020-03-19 10:10:16 -03:00 committed by Greyson Parrelli
parent 19377c2132
commit da11b56eab
1 changed files with 2 additions and 1 deletions

View File

@ -431,9 +431,10 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
return;
}
if (!Util.isEmpty(composeText) || attachmentManager.isAttachmentPresent()) {
if (!Util.isEmpty(composeText) || attachmentManager.isAttachmentPresent() || inputPanel.getQuote().isPresent()) {
saveDraft();
attachmentManager.clear(glideRequests, false);
inputPanel.clearQuote();
silentlySetComposeText("");
}