signal-desktop/ts/util/isPhoneNumberSharingEnabled.ts

9 lines
258 B
TypeScript
Raw Normal View History

2021-08-19 01:04:38 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as RemoteConfig from '../RemoteConfig';
export function isPhoneNumberSharingEnabled(): boolean {
return Boolean(RemoteConfig.isEnabled('desktop.internalUser'));
}