process receipts only on mam catchup
This commit is contained in:
parent
ecedda8613
commit
a32d0c5d20
|
@ -761,7 +761,7 @@ public class MessageParser extends AbstractParser implements OnMessagePacketRece
|
||||||
packet.getType());
|
packet.getType());
|
||||||
mXmppConnectionService.sendMessagePacket(account, receipt);
|
mXmppConnectionService.sendMessagePacket(account, receipt);
|
||||||
}
|
}
|
||||||
} else { //just catchup??
|
} else if (query.isCatchup()) {
|
||||||
if (request) {
|
if (request) {
|
||||||
query.addPendingReceiptRequest(new ReceiptRequest(packet.getFrom(), packet.getId()));
|
query.addPendingReceiptRequest(new ReceiptRequest(packet.getFrom(), packet.getId()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue