sendToGroup: Ensure key distribution messages are always online:false

This commit is contained in:
Scott Nonnenberg 2021-07-26 16:48:43 -07:00 committed by GitHub
parent eba182f8d0
commit 276c153ec4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ export async function sendToGroupViaSenderKey(options: {
groupId,
identifiers: newToMemberUuids,
},
sendOptions
sendOptions ? { ...sendOptions, online: false } : undefined
),
{ messageIds: [], sendType: 'senderKeyDistributionMessage' }
);