2021-08-25 21:42:51 +00:00
|
|
|
// Copyright 2021 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
import * as RemoteConfig from '../RemoteConfig';
|
2022-11-30 22:35:37 +00:00
|
|
|
import { isBeta } from './version';
|
2021-08-25 21:42:51 +00:00
|
|
|
|
|
|
|
export function isGroupCallOutboundRingEnabled(): boolean {
|
|
|
|
return Boolean(
|
|
|
|
RemoteConfig.isEnabled('desktop.internalUser') ||
|
2022-11-30 22:35:37 +00:00
|
|
|
RemoteConfig.isEnabled('desktop.groupCallOutboundRing2') ||
|
|
|
|
(isBeta(window.getVersion()) &&
|
|
|
|
RemoteConfig.isEnabled('desktop.groupCallOutboundRing2.beta'))
|
2021-08-25 21:42:51 +00:00
|
|
|
);
|
|
|
|
}
|