aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2019-03-31 11:09:54 +0200
committerChristian Schneppe <christian@pix-art.de>2019-03-31 11:09:54 +0200
commit061771300e0b85463e149366293a0e59d01e6bdf (patch)
treedfee39744feb1b3cba460de89672cc64b98f4337 /src
parentcb6e1fa0b0e155fe27c5ed22c03c9bb0ecd504f5 (diff)
do sent/received correct based on true counterpart introduced in fec6d7a90c443ef0ef86464bd2fb49cdc56d1587
only for type=groupchat
Diffstat (limited to 'src')
-rw-r--r--src/main/java/de/pixart/messenger/parser/MessageParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/parser/MessageParser.java b/src/main/java/de/pixart/messenger/parser/MessageParser.java
index b9a132cf3..38ed21a3a 100644
--- a/src/main/java/de/pixart/messenger/parser/MessageParser.java
+++ b/src/main/java/de/pixart/messenger/parser/MessageParser.java
@@ -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 {