Merge pull request #3504 from matrix-org/t3chguy/fix_upgraderoom_slashcommand

Fix upgraderoom slashcommand
pull/21833/head
Travis Ralston 2019-10-01 17:07:49 -06:00 committed by GitHub
commit 4c95b2063e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);