aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/parser
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2017-11-23 20:44:36 +0100
committerChristian Schneppe <christian@pix-art.de>2017-11-23 20:44:36 +0100
commita42f6ec1caad233ec9b878ebfa7ba5070ffd67ef (patch)
treee61d118c1f9b5a7f22e4f5aed0150b50cd913f18 /src/main/java/de/pixart/messenger/parser
parentefd0ca9dd0569db2da2dfea7734f421ff923c72b (diff)
deduplicate read markers if one with real jid is found
Diffstat (limited to 'src/main/java/de/pixart/messenger/parser')
-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 760b1b068..64317752d 100644
--- a/src/main/java/de/pixart/messenger/parser/MessageParser.java
+++ b/src/main/java/de/pixart/messenger/parser/MessageParser.java
@@ -713,8 +713,8 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
ReadByMarker readByMarker = ReadByMarker.from(counterpart, trueJid);
if (message.addReadByMarker(readByMarker)) {
Log.d(Config.LOGTAG, account.getJid().toBareJid() + ": added read by (" + readByMarker.getRealJid() + ") to message '" + message.getBody() + "'");
- mXmppConnectionService.markMessage(message, Message.STATUS_SEND_DISPLAYED);
mXmppConnectionService.updateMessage(message);
+ mXmppConnectionService.markMessage(message, Message.STATUS_SEND_DISPLAYED);
}
}
}