No you may not reply to yourself
(cherry picked from commit 5e1502bb47854d7771586deee3663810be3e2240)
This commit is contained in:
parent
e3d2dec1f7
commit
0f609eeb31
1 changed files with 4 additions and 0 deletions
|
@ -2072,6 +2072,10 @@ public class ConversationFragment extends XmppFragment
|
|||
}
|
||||
|
||||
public void setupReply(Message message) {
|
||||
if (message != null) {
|
||||
final var correcting = conversation.getCorrectingMessage();
|
||||
if (correcting != null && correcting.getUuid().equals(message.getUuid())) return;
|
||||
}
|
||||
conversation.setReplyTo(message);
|
||||
if (message == null) {
|
||||
binding.contextPreview.setVisibility(View.GONE);
|
||||
|
|
Loading…
Add table
Reference in a new issue