Revs screensharing feature flag
This commit is contained in:
parent
c055240dc5
commit
4416715bff
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||||
|
|
|
@ -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())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue