Update behavior when receiving sync messages with isRecipientUpdate

This commit is contained in:
trevor-signal 2024-02-20 14:53:15 -05:00 committed by GitHub
parent ae9181a4b2
commit 4e1c52a155
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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',