You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-05 23:10:41 +03:00
Fix UserInfo promote user inverted buttons
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user