signal-desktop/ts/util/isBackupEnabled.ts

9 lines
256 B
TypeScript
Raw Normal View History

2024-04-22 21:25:56 +00:00
// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import * as RemoteConfig from '../RemoteConfig';
export function isBackupEnabled(): boolean {
return Boolean(RemoteConfig.isEnabled('desktop.backup.credentialFetch'));
}