mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
Fix upgraderoom slashcommand
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
c5fd92bfeb
commit
8f3cef84fd
@ -215,7 +215,7 @@ export const CommandMap = {
|
||||
button: _t("Upgrade"),
|
||||
});
|
||||
|
||||
return success(finished.then((confirm) => {
|
||||
return success(finished.then(([confirm]) => {
|
||||
if (!confirm) return;
|
||||
|
||||
return cli.upgradeRoom(roomId, args);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user