Fix out-of-order applications of reaction and delete-for-everyone

This commit is contained in:
Scott Nonnenberg 2020-11-01 07:06:41 -08:00 committed by GitHub
parent 05f905fd10
commit e8759fc81b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 12 deletions

View file

@ -14,7 +14,7 @@
forMessage(message) {
const matchingDeletes = this.filter({
targetSentTimestamp: message.get('sent_at'),
fromId: message.getContact().get('id'),
fromId: message.getContactId(),
});
if (matchingDeletes.length > 0) {