Revs screensharing feature flag

This commit is contained in:
Josh Perez 2021-06-03 14:50:12 -04:00 committed by GitHub
parent c055240dc5
commit 4416715bff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ export type ConfigKeyType =
| 'desktop.gv2' | 'desktop.gv2'
| 'desktop.mandatoryProfileSharing' | 'desktop.mandatoryProfileSharing'
| 'desktop.messageRequests' | 'desktop.messageRequests'
| 'desktop.screensharing' | 'desktop.screensharing2'
| 'desktop.storage' | 'desktop.storage'
| 'desktop.storageWrite3' | 'desktop.storageWrite3'
| 'desktop.worksAtSignal' | 'desktop.worksAtSignal'

View file

@ -8,7 +8,7 @@ import { isBeta } from './version';
export function isScreenSharingEnabled(): boolean { export function isScreenSharingEnabled(): boolean {
return ( return (
RemoteConfig.isEnabled('desktop.worksAtSignal') || RemoteConfig.isEnabled('desktop.worksAtSignal') ||
RemoteConfig.isEnabled('desktop.screensharing') || RemoteConfig.isEnabled('desktop.screensharing2') ||
isBeta(window.getVersion()) isBeta(window.getVersion())
); );
} }