signal-desktop/ts/util/isAnnouncementGroupReady.ts
2021-08-05 10:00:33 -07:00

11 lines
324 B
TypeScript

// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as RemoteConfig from '../RemoteConfig';
export function isAnnouncementGroupReady(): boolean {
return Boolean(
RemoteConfig.isEnabled('desktop.internalUser') ||
RemoteConfig.isEnabled('desktop.announcementGroup')
);
}