Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/c1
Conflicts: src/components/structures/RoomDirectory.tsx src/components/views/room_settings/RoomPublishSetting.tsx
This commit is contained in:
commit
ae6eaa5acc
19 changed files with 223 additions and 97 deletions
|
@ -280,6 +280,7 @@ export default class RolesRoomSettingsTab extends React.Component<IProps> {
|
|||
const mutedUsers = [];
|
||||
|
||||
Object.keys(userLevels).forEach((user) => {
|
||||
if (!Number.isInteger(userLevels[user])) { return; }
|
||||
const canChange = userLevels[user] < currentUserLevel && canChangeLevels;
|
||||
if (userLevels[user] > defaultUserLevel) { // privileged
|
||||
privilegedUsers.push(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue