Admin Delete

Co-authored-by: Jamie <113370520+jamiebuilds-signal@users.noreply.github.com>
This commit is contained in:
automated-signal
2026-03-04 13:22:47 -06:00
committed by GitHub
parent c16ff9e778
commit efb7c6725c
67 changed files with 2328 additions and 569 deletions

View File

@@ -0,0 +1,18 @@
// Copyright 2026 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { isFeaturedEnabledNoRedux } from './isFeatureEnabled.dom.js';
export function isAdminDeleteReceiveEnabled(): boolean {
return isFeaturedEnabledNoRedux({
betaKey: 'desktop.adminDelete.receive.beta',
prodKey: 'desktop.adminDelete.receive.prod',
});
}
export function isAdminDeleteSendEnabled(): boolean {
return isFeaturedEnabledNoRedux({
betaKey: 'desktop.adminDelete.send.beta',
prodKey: 'desktop.adminDelete.send.prod',
});
}