aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-13 22:08:16 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-13 22:08:16 +0200
commitf7999d2cadb875ad2b2f04260ff1ff9f0abc95ef (patch)
treea14357d88c82e68f820464f512cb516f0f12cea2
parentfa084d989a5c75df048a3a63483d79ac90580326 (diff)
process receipts only on mam catchup
-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 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()));
}