do sent/received correct based on true counterpart introduces in f406631512 only for type=groupchat

This commit is contained in:
Daniel Gultsch 2019-03-15 12:46:27 +01:00
parent e998ea816e
commit 74301831d2

View file

@ -503,7 +503,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 {