Read/Delivery Receipts: Wait for resolution in main queue

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-08-03 18:10:45 -07:00
parent 92ba295d52
commit 7faf83bc01
3 changed files with 23 additions and 20 deletions

View file

@ -381,6 +381,9 @@
});
receipt.on('remove', ev.confirm);
// Calling this directly so we can wait for completion
return Whisper.ReadReceipts.onReceipt(receipt);
}
function onVerified(ev) {
@ -447,6 +450,9 @@
});
receipt.on('remove', ev.confirm);
// Calling this directly so we can wait for completion
return Whisper.DeliveryReceipts.onReceipt(receipt);
}
window.owsDesktopApp = {