* Allow /upgraderoom command without developer mode enabled
This will make the instructions for upgrading rooms for hydra a lot
more straightforward, so maybe let's do this at least while hydra
upgrades happen.
* Update test to match
* Unused imports
(cherry picked from commit 4d3fde192d)
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
This commit is contained in:
@@ -148,7 +148,7 @@ export const Commands = [
|
||||
command: "upgraderoom",
|
||||
args: "<new_version>",
|
||||
description: _td("slash_command|upgraderoom"),
|
||||
isEnabled: (cli) => !isCurrentLocalRoom(cli) && SettingsStore.getValue("developerMode"),
|
||||
isEnabled: (cli) => !isCurrentLocalRoom(cli),
|
||||
runFn: function (cli, roomId, threadId, args) {
|
||||
if (args) {
|
||||
const room = cli.getRoom(roomId);
|
||||
|
||||
Reference in New Issue
Block a user