do sent/received correct based on true counterpart introduces in f406631512
only for type=groupchat
This commit is contained in:
parent
e998ea816e
commit
74301831d2
|
@ -503,7 +503,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
|
||||||
} else {
|
} else {
|
||||||
trueCounterpart = fallback;
|
trueCounterpart = fallback;
|
||||||
}
|
}
|
||||||
if (trueCounterpart != null) {
|
if (trueCounterpart != null && isTypeGroupChat) {
|
||||||
if (trueCounterpart.asBareJid().equals(account.getJid().asBareJid())) {
|
if (trueCounterpart.asBareJid().equals(account.getJid().asBareJid())) {
|
||||||
status = isTypeGroupChat ? Message.STATUS_SEND_RECEIVED : Message.STATUS_SEND;
|
status = isTypeGroupChat ? Message.STATUS_SEND_RECEIVED : Message.STATUS_SEND;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue