process receipts only on mam catchup

This commit is contained in:
Daniel Gultsch 2018-03-26 05:43:01 +02:00
parent ecedda8613
commit a32d0c5d20
1 changed files with 1 additions and 1 deletions

View File

@ -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()));
}