Enables edit messages for beta version
This commit is contained in:
parent
c961ea9ef7
commit
81e600bf2e
1 changed files with 4 additions and 1 deletions
|
@ -2,9 +2,12 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { isEnabled } from '../RemoteConfig';
|
||||
import { isBeta } from './version';
|
||||
|
||||
export function canEditMessages(): boolean {
|
||||
return (
|
||||
isEnabled('desktop.internalUser') || isEnabled('desktop.editMessageSend')
|
||||
isBeta(window.getVersion()) ||
|
||||
isEnabled('desktop.internalUser') ||
|
||||
isEnabled('desktop.editMessageSend')
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue