Skip to content

Commit

Permalink
sendToGroup: Ensure key distribution messages are always online:false
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Nonnenberg <scott@signal.org>
  • Loading branch information
automated-signal and scottnonnenberg-signal committed Jul 27, 2021
1 parent ed5f914 commit c67bf6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ts/util/sendToGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ export async function sendToGroupViaSenderKey(options: {
groupId,
identifiers: newToMemberUuids,
},
sendOptions
sendOptions ? { ...sendOptions, online: false } : undefined
),
{ messageIds: [], sendType: 'senderKeyDistributionMessage' }
);
Expand Down

0 comments on commit c67bf6c

Please sign in to comment.