Put group calling behind a remote feature flag
This commit is contained in:
parent
23fed9ce63
commit
a2f285d243
11 changed files with 51 additions and 14 deletions
13
ts/util/isGroupCallingEnabled.ts
Normal file
13
ts/util/isGroupCallingEnabled.ts
Normal file
|
@ -0,0 +1,13 @@
|
|||
// Copyright 2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { isBeta } from './version';
|
||||
import * as RemoteConfig from '../RemoteConfig';
|
||||
|
||||
// We can remove this function once group calling has been turned on for everyone.
|
||||
export function isGroupCallingEnabled(): boolean {
|
||||
return (
|
||||
RemoteConfig.isEnabled('desktop.groupCalling') ||
|
||||
isBeta(window.getVersion())
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue