mirror of https://github.com/vector-im/riot-web
Merge pull request #3504 from matrix-org/t3chguy/fix_upgraderoom_slashcommand
Fix upgraderoom slashcommandpull/21833/head
commit
4c95b2063e
|
@ -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…
Reference in New Issue