Clear reply after image as well as text reply

(cherry picked from commit 017b77489adf24f019ad92e631f837f27f6b5da6)
This commit is contained in:
Stephen Paul Weber 2024-11-20 00:36:37 -05:00 committed by Arne
parent 78dc6c3ec7
commit 22dbc22393

View file

@ -1223,7 +1223,6 @@ public class ConversationFragment extends XmppFragment
reactionBuilder.addAll(aggregated.ourReactions);
reactionBuilder.add(body.toString().replaceAll("\\s", ""));
activity.xmppConnectionService.sendReactions(conversation.getReplyTo(), reactionBuilder.build());
setupReply(null);
messageSent();
return;
} else {
@ -1287,7 +1286,6 @@ public class ConversationFragment extends XmppFragment
if (message.getStatus() == Message.STATUS_WAITING) {
if (sendAt != null) message.setTime(sendAt);
activity.xmppConnectionService.updateMessage(message);
setupReply(null);
messageSent();
return;
} else {
@ -4386,6 +4384,7 @@ public class ConversationFragment extends XmppFragment
binding.textinputSubject.setText("");
binding.textinputSubject.setVisibility(View.GONE);
setThread(null);
setupReply(null);
conversation.setUserSelectedThread(false);
mSendingPgpMessage.set(false);
this.binding.textinput.setText("");