mirror of https://github.com/vector-im/riot-web
Fix upgraderoom slashcommand
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
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…
Reference in New Issue