From b92b3863b9b4cd35a3248f488bb4e9ad77cc2adf Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 16 Jun 2016 20:38:02 +0200 Subject: [PATCH] don't handle chat states in muc or from archive --- .../java/eu/siacs/conversations/parser/MessageParser.java | 4 +++- 1 file changed, 3 insertions(+), 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 b9a6e719f..af71bdb09 100644 --- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java +++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java @@ -365,7 +365,9 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece return; } - if (extractChatState(mXmppConnectionService.find(account, counterpart.toBareJid()), packet)) { + if (!isTypeGroupChat + && query == null + && extractChatState(mXmppConnectionService.find(account, counterpart.toBareJid()), packet)) { mXmppConnectionService.updateConversationUi(); }