diff --git a/ts/messageModifiers/ReadSyncs.ts b/ts/messageModifiers/ReadSyncs.ts index f1befba90..549233bc8 100644 --- a/ts/messageModifiers/ReadSyncs.ts +++ b/ts/messageModifiers/ReadSyncs.ts @@ -42,11 +42,22 @@ async function maybeItIsAReactionReadSync( Number(sync.timestamp) ); - if (!readReaction) { + if ( + !readReaction || + readReaction?.targetAuthorAci !== window.storage.user.getCheckedAci() + ) { log.info(`${logId} not found:`, sync.senderId, sync.sender, sync.senderAci); return; } + log.info( + `${logId} read reaction sync found:`, + readReaction.conversationId, + sync.senderId, + sync.sender, + sync.senderAci + ); + remove(sync); notificationService.removeBy({