Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3504 from matrix-org/t3chguy/fix_upgraderoom_slas…
Browse files Browse the repository at this point in the history
…hcommand

Fix upgraderoom slashcommand
  • Loading branch information
turt2live committed Oct 1, 2019
2 parents c5fd92b + 8f3cef8 commit 4c95b20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlashCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4c95b20

Please sign in to comment.