mirror of https://github.com/vector-im/riot-web
Merge pull request #3781 from matrix-org/t3chguy/user_info
Fix not being able to promote others to the same power level as your ownpull/21833/head
commit
4984dd6f92
|
@ -984,7 +984,7 @@ const PowerLevelEditor = ({user, room, roomPermissions, onFinished}) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
const [confirmed] = await finished;
|
const [confirmed] = await finished;
|
||||||
if (confirmed) return;
|
if (!confirmed) return;
|
||||||
}
|
}
|
||||||
await _applyPowerChange(roomId, target, powerLevel, powerLevelEvent);
|
await _applyPowerChange(roomId, target, powerLevel, powerLevelEvent);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue