do sent/received correct based on true counterpart introduced in fec6d7a90c

only for type=groupchat
This commit is contained in:
Christian Schneppe 2019-03-31 11:09:54 +02:00
parent cb6e1fa0b0
commit 061771300e

View file

@ -610,7 +610,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
} else {
trueCounterpart = fallback;
}
if (trueCounterpart != null) {
if (trueCounterpart != null && isTypeGroupChat) {
if (trueCounterpart.asBareJid().equals(account.getJid().asBareJid())) {
status = isTypeGroupChat ? Message.STATUS_SEND_RECEIVED : Message.STATUS_SEND;
} else {