Merge pull request #3781 from matrix-org/t3chguy/user_info

Fix not being able to promote others to the same power level as your own
pull/21833/head
Michael Telatynski 2019-12-27 16:52:23 +00:00 committed by GitHub
commit 4984dd6f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 {