Fix UserInfo promote user inverted buttons

pull/21833/head
Michael Telatynski 2019-12-26 18:04:58 +00:00
parent e7eac2ec85
commit 73800c9a92
1 changed files with 1 additions and 1 deletions

View File

@ -984,7 +984,7 @@ const PowerLevelEditor = ({user, room, roomPermissions, onFinished}) => {
});
const [confirmed] = await finished;
if (confirmed) return;
if (!confirmed) return;
}
await _applyPowerChange(roomId, target, powerLevel, powerLevelEvent);
} finally {