aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-06-16 20:38:02 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-19 20:12:30 +0200
commit18153467a0e45f9ef8e98dddb94df768915d6e1a (patch)
treed01bc742c4f28103d174fe7e8f0be3d2a505473b /src
parent24736fc04ce7a710327cb3ff3d76add2d734eb17 (diff)
don't handle chat states in muc or from archive
Diffstat (limited to 'src')
-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 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();
}