From a1e354fa7211b0cd6bef6170e2f3d6835e215aff Mon Sep 17 00:00:00 2001 From: kosyak Date: Tue, 15 Aug 2023 01:20:05 +0200 Subject: [PATCH] fix reply id --- src/main/java/eu/siacs/conversations/entities/Message.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/entities/Message.java b/src/main/java/eu/siacs/conversations/entities/Message.java index ac3d65c3e..5fe9128d7 100644 --- a/src/main/java/eu/siacs/conversations/entities/Message.java +++ b/src/main/java/eu/siacs/conversations/entities/Message.java @@ -344,7 +344,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable } public String replyId() { - return conversation.getMode() == Conversation.MODE_MULTI ? getServerMsgId() : getRemoteMsgId(); + return conversation.getMode() == Conversation.MODE_MULTI || getRemoteMsgId() == null ? getServerMsgId() : getRemoteMsgId(); } public Message reply() {