diff options
author | Christian Schneppe <christian@pix-art.de> | 2018-04-13 22:08:16 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2018-04-13 22:08:16 +0200 |
commit | f7999d2cadb875ad2b2f04260ff1ff9f0abc95ef (patch) | |
tree | a14357d88c82e68f820464f512cb516f0f12cea2 | |
parent | fa084d989a5c75df048a3a63483d79ac90580326 (diff) |
process receipts only on mam catchup
-rw-r--r-- | src/main/java/de/pixart/messenger/parser/MessageParser.java | 2 |
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 3c900cc69..86fae5b87 100644 --- a/src/main/java/de/pixart/messenger/parser/MessageParser.java +++ b/src/main/java/de/pixart/messenger/parser/MessageParser.java @@ -875,7 +875,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece packet.getType()); mXmppConnectionService.sendMessagePacket(account, receipt); } - } else { //just catchup?? + } else if (query.isCatchup()) { if (request) { query.addPendingReceiptRequest(new ReceiptRequest(packet.getFrom(), packet.getId())); } |