Check targetTimestamp when looking for out-of-order reactions

This commit is contained in:
Ken Powers 2020-03-24 16:30:43 -04:00 committed by Scott Nonnenberg
parent cbc670e855
commit a20c7c3357
3 changed files with 21 additions and 12 deletions

View file

@ -181,6 +181,11 @@
return null;
},
getOurConversationId() {
const e164 = textsecure.storage.user.getNumber();
const uuid = textsecure.storage.user.getUuid();
return this.getConversationId(e164 || uuid);
},
prepareForSend(id, options) {
// id is any valid conversation identifier
const conversation = this.get(id);