From 18153467a0e45f9ef8e98dddb94df768915d6e1a 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') 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(); } -- cgit v1.2.3