From b92b3863b9b4cd35a3248f488bb4e9ad77cc2adf Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Thu, 16 Jun 2016 20:38:02 +0200 Subject: don't handle chat states in muc or from archive --- src/main/java/eu/siacs/conversations/parser/MessageParser.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/java') diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java index b9a6e719..af71bdb0 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(); } -- cgit v1.2.3