mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-27 13:40:47 +00:00
Send edited messages support
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
This commit is contained in:
8
ts/util/canEditMessages.ts
Normal file
8
ts/util/canEditMessages.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
// Copyright 2023 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { isEnabled } from '../RemoteConfig';
|
||||
|
||||
export function canEditMessages(): boolean {
|
||||
return isEnabled('desktop.editMessageSend');
|
||||
}
|
||||
Reference in New Issue
Block a user