From 74301831d2bc7e5d51bcb2a83aafaea84f95ce8b Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Fri, 15 Mar 2019 12:46:27 +0100 Subject: [PATCH] do sent/received correct based on true counterpart introduces in f4066315121ef67b33f39ed67bc2cb1832ae3445 only for type=groupchat --- src/main/java/eu/siacs/conversations/parser/MessageParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java index 0bad7db61..77cf2e3a6 100644 --- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java +++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java @@ -503,7 +503,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece } else { trueCounterpart = fallback; } - if (trueCounterpart != null) { + if (trueCounterpart != null && isTypeGroupChat) { if (trueCounterpart.asBareJid().equals(account.getJid().asBareJid())) { status = isTypeGroupChat ? Message.STATUS_SEND_RECEIVED : Message.STATUS_SEND; } else {