Fix UserInfo promote user inverted buttons

This commit is contained in:
Michael Telatynski 2019-12-26 18:04:58 +00:00
parent e7eac2ec85
commit 73800c9a92

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 {