Move to `desktop.sendSenderKey3` feature flag

This commit is contained in:
Scott Nonnenberg 2021-08-26 09:34:33 -07:00 committed by GitHub
parent 46f7025e41
commit ff4aa228f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ export type ConfigKeyType =
| 'desktop.screensharing2'
| 'desktop.senderKey.send'
| 'desktop.senderKey.retry'
| 'desktop.sendSenderKey2'
| 'desktop.sendSenderKey3'
| 'desktop.storage'
| 'desktop.storageWrite3'
| 'global.calling.maxGroupCallRingSize'

View File

@ -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)