diff --git a/ts/RemoteConfig.ts b/ts/RemoteConfig.ts index b01333c48ed..d6fcd1abcad 100644 --- a/ts/RemoteConfig.ts +++ b/ts/RemoteConfig.ts @@ -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' diff --git a/ts/util/sendToGroup.ts b/ts/util/sendToGroup.ts index fe7e5b971ae..5a4efecc53c 100644 --- a/ts/util/sendToGroup.ts +++ b/ts/util/sendToGroup.ts @@ -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)