don't handle chat states in muc or from archive

This commit is contained in:
Daniel Gultsch 2016-06-16 20:38:02 +02:00
parent fc3aefd56e
commit b92b3863b9

View file

@ -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();
}