From e1a427722b0d57eea9b2deda9846359819e37a58 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Sun, 11 Jun 2017 19:07:02 +0200 Subject: do not accept LMC for files --- src/main/java/de/pixart/messenger/entities/Conversation.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/java/de/pixart/messenger/entities/Conversation.java b/src/main/java/de/pixart/messenger/entities/Conversation.java index d95894d00..0ebd31b71 100644 --- a/src/main/java/de/pixart/messenger/entities/Conversation.java +++ b/src/main/java/de/pixart/messenger/entities/Conversation.java @@ -282,7 +282,7 @@ public class Conversation extends AbstractEntity implements Blockable, Comparabl if (counterpart.equals(message.getCounterpart()) && ((message.getStatus() == Message.STATUS_RECEIVED) == received) && (carbon == message.isCarbon() || received)) { - if (id.equals(message.getRemoteMsgId())) { + if (id.equals(message.getRemoteMsgId()) && !message.isFileOrImage() && !message.treatAsDownloadable()) { return message; } else { return null; -- cgit v1.2.3