Read receipts: Log sender and timestamp when related msg not found

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-07-24 12:27:48 -07:00
parent c6bc167975
commit f38d715250
4 changed files with 9 additions and 6 deletions

View file

@ -38704,8 +38704,8 @@ MessageReceiver.prototype.extend({
ev.confirm = this.removeFromCache.bind(this, envelope);
ev.timestamp = envelope.timestamp.toNumber();
ev.read = {
timestamp : read[i].timestamp.toNumber(),
sender : read[i].sender
timestamp : read[i].timestamp.toNumber(),
sender : read[i].sender
}
this.dispatchEvent(ev);
}