Refactor group story reply receipt logic

This commit is contained in:
trevor-signal
2023-05-31 16:07:43 -04:00
committed by GitHub
parent cfabf8f533
commit 4fa9ce5096
3 changed files with 89 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ export async function findStoryMessages(
isStoryAMatch(item, conversationId, ourConversationId, authorUuid, sentAt)
);
if (found.length !== 0) {
if (found.length === 0) {
log.info('findStoryMessages: message not found', sentAt);
return [];
}