aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-06-16 20:38:02 +0200
committerDaniel Gultsch <daniel@gultsch.de>2016-06-16 20:38:02 +0200
commitb92b3863b9b4cd35a3248f488bb4e9ad77cc2adf (patch)
tree4e3a35ae887228993669bba0904be4adb7a99254 /src/main
parentfc3aefd56e7f83569c2670319be5559649d845f1 (diff)
don't handle chat states in muc or from archive
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/eu/siacs/conversations/parser/MessageParser.java4
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();
}