Enable screensharing flag for beta users
This commit is contained in:
parent
3a6c9aa314
commit
07a0a6da22
1 changed files with 3 additions and 1 deletions
|
@ -2,11 +2,13 @@
|
||||||
// SPDX-License-Identifier: AGPL-3.0-only
|
// SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
import * as RemoteConfig from '../RemoteConfig';
|
import * as RemoteConfig from '../RemoteConfig';
|
||||||
|
import { isBeta } from './version';
|
||||||
|
|
||||||
// We can remove this function once screen sharing has been turned on for everyone
|
// We can remove this function once screen sharing has been turned on for everyone
|
||||||
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.screensharing') ||
|
||||||
|
isBeta(window.getVersion())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue