Immediately remove delivery receipts from the retry cache (#1719)

This commit is contained in:
Scott Nonnenberg 2017-11-07 18:30:54 -08:00 committed by GitHub
parent c0c4730bad
commit f2b5c53d4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -708,7 +708,7 @@
source: deliveryReceipt.source
});
receipt.on('remove', ev.confirm);
ev.confirm();
// Calling this directly so we can wait for completion
return Whisper.DeliveryReceipts.onReceipt(receipt);

View file

@ -67,7 +67,6 @@
receipt.get('source'),
receipt.get('timestamp')
);
resolve();
}
}.bind(this)).catch(function(error) {
console.log(