You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Fix upgraderoom slashcommand
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user