From 4416715bffeb716b432cb5f00fc0709f025ec883 Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Thu, 3 Jun 2021 14:50:12 -0400 Subject: [PATCH] Revs screensharing feature flag --- ts/RemoteConfig.ts | 2 +- ts/util/isScreenSharingEnabled.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ts/RemoteConfig.ts b/ts/RemoteConfig.ts index 6dcd46db516..2af6f2b76b5 100644 --- a/ts/RemoteConfig.ts +++ b/ts/RemoteConfig.ts @@ -11,7 +11,7 @@ export type ConfigKeyType = | 'desktop.gv2' | 'desktop.mandatoryProfileSharing' | 'desktop.messageRequests' - | 'desktop.screensharing' + | 'desktop.screensharing2' | 'desktop.storage' | 'desktop.storageWrite3' | 'desktop.worksAtSignal' diff --git a/ts/util/isScreenSharingEnabled.ts b/ts/util/isScreenSharingEnabled.ts index 8b865f85b03..ca927e0bf52 100644 --- a/ts/util/isScreenSharingEnabled.ts +++ b/ts/util/isScreenSharingEnabled.ts @@ -8,7 +8,7 @@ import { isBeta } from './version'; export function isScreenSharingEnabled(): boolean { return ( RemoteConfig.isEnabled('desktop.worksAtSignal') || - RemoteConfig.isEnabled('desktop.screensharing') || + RemoteConfig.isEnabled('desktop.screensharing2') || isBeta(window.getVersion()) ); }