From a32d0c5d20cf74b0309a87a29cae7208c86c09f5 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Mon, 26 Mar 2018 05:43:01 +0200 Subject: [PATCH] process receipts only on mam catchup --- src/main/java/eu/siacs/conversations/parser/MessageParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/parser/MessageParser.java b/src/main/java/eu/siacs/conversations/parser/MessageParser.java index e692787a3..fe6b8a1fb 100644 --- a/src/main/java/eu/siacs/conversations/parser/MessageParser.java +++ b/src/main/java/eu/siacs/conversations/parser/MessageParser.java @@ -761,7 +761,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())); }