don't check if muc pm was archived in case of new message

This commit is contained in:
kosyak 2024-09-09 00:03:31 +02:00
parent c32809b963
commit 1a751b8a80

View file

@ -508,10 +508,6 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
}
}
if (nextCounterpart != null && mXmppConnectionService.checkIsArchived(account, counterpart.asBareJid(), nextCounterpart)) {
return;
}
if ((body != null || pgpEncrypted != null || (axolotlEncrypted != null && axolotlEncrypted.hasChild("payload")) || oobUrl != null) && !isMucStatusMessage) {
final Conversation conversation = mXmppConnectionService.findOrCreateConversation(account, counterpart.asBareJid(), null, conversationIsProbablyMuc, nextCounterpart != null, false, nextCounterpart);
final boolean conversationMultiMode = conversation.getMode() == Conversation.MODE_MULTI;