From 9bec186292bf0b59889e49838c529873f620c2fd Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 26 Jul 2020 13:46:01 +0200 Subject: [PATCH] ignore RTP session logs when looking for LMC. fixes #3843 --- 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 90b2bdc61..a03166685 100644 --- a/src/main/java/eu/siacs/conversations/entities/Message.java +++ b/src/main/java/eu/siacs/conversations/entities/Message.java @@ -621,7 +621,7 @@ public class Message extends AbstractEntity implements AvatarService.Avatarable } public boolean isEditable() { - return getStatus() != STATUS_RECEIVED && !isCarbon(); + return status != STATUS_RECEIVED && !isCarbon() && type != Message.TYPE_RTP_SESSION; } public boolean mergeable(final Message message) {