Skip to content

Commit

Permalink
Move to desktop.sendSenderKey3 feature flag
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 Aug 26, 2021
1 parent 0f5f803 commit 4a89b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ts/RemoteConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export type ConfigKeyType =
| 'desktop.screensharing2'
| 'desktop.senderKey.send'
| 'desktop.senderKey.retry'
| 'desktop.sendSenderKey2'
| 'desktop.sendSenderKey3'
| 'desktop.storage'
| 'desktop.storageWrite3'
| 'global.calling.maxGroupCallRingSize'
Expand Down
2 changes: 1 addition & 1 deletion ts/util/sendToGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export async function sendContentMessageToGroup({
const ourConversation = window.ConversationController.get(ourConversationId);

if (
isEnabled('desktop.sendSenderKey2') &&
isEnabled('desktop.sendSenderKey3') &&
ourConversation?.get('capabilities')?.senderKey &&
RemoteConfig.isEnabled('desktop.senderKey.send') &&
isGroupV2(conversation.attributes)
Expand Down

0 comments on commit 4a89b97

Please sign in to comment.