mirror of
https://github.com/element-hq/element-web
synced 2024-10-25 12:16:00 +03:00
Fix upgraderoom slashcommand
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c5fd92bfeb
commit
8f3cef84fd
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,7 @@ export const CommandMap = {
|
||||||
button: _t("Upgrade"),
|
button: _t("Upgrade"),
|
||||||
});
|
});
|
||||||
|
|
||||||
return success(finished.then((confirm) => {
|
return success(finished.then(([confirm]) => {
|
||||||
if (!confirm) return;
|
if (!confirm) return;
|
||||||
|
|
||||||
return cli.upgradeRoom(roomId, args);
|
return cli.upgradeRoom(roomId, args);
|
||||||
|
|
Loading…
Reference in a new issue