diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-06-16 20:38:02 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-06-16 20:38:02 +0200 |
commit | b92b3863b9b4cd35a3248f488bb4e9ad77cc2adf (patch) | |
tree | 4e3a35ae887228993669bba0904be4adb7a99254 /src/main/java/eu/siacs | |
parent | fc3aefd56e7f83569c2670319be5559649d845f1 (diff) |
don't handle chat states in muc or from archive
Diffstat (limited to 'src/main/java/eu/siacs')
-rw-r--r-- | src/main/java/eu/siacs/conversations/parser/MessageParser.java | 4 |
1 files changed, 3 insertions, 1 deletions
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(); } |