Skip to content

Commit

Permalink
Update behavior when receiving sync messages with isRecipientUpdate
Browse files Browse the repository at this point in the history
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
  • Loading branch information
automated-signal and trevor-signal committed Feb 22, 2024
1 parent a1c49aa commit b282534
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ts/textsecure/MessageReceiver.ts
Expand Up @@ -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',
Expand Down

0 comments on commit b282534

Please sign in to comment.