From 4e1c52a1552ee62e012a56dfed07f175eea4f86d Mon Sep 17 00:00:00 2001 From: trevor-signal <131492920+trevor-signal@users.noreply.github.com> Date: Tue, 20 Feb 2024 14:53:15 -0500 Subject: [PATCH] Update behavior when receiving sync messages with isRecipientUpdate --- ts/textsecure/MessageReceiver.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/textsecure/MessageReceiver.ts b/ts/textsecure/MessageReceiver.ts index 92167f5131eb..9c97f08875a1 100644 --- a/ts/textsecure/MessageReceiver.ts +++ b/ts/textsecure/MessageReceiver.ts @@ -3006,7 +3006,10 @@ export default class MessageReceiver return this.handleSentEditMessage(envelope, sentMessage); } - if (sentMessage.storyMessageRecipients && sentMessage.isRecipientUpdate) { + if ( + sentMessage.storyMessageRecipients?.length && + sentMessage.isRecipientUpdate + ) { if (getStoriesBlocked()) { log.info( 'MessageReceiver.handleSyncMessage: dropping story recipients update',