mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-01 22:01:49 +01:00
Put group calling behind a remote feature flag
This commit is contained in:
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())
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user