diff --git a/src/components/views/right_panel/UserInfo.tsx b/src/components/views/right_panel/UserInfo.tsx index 93ab84e902..25d54da463 100644 --- a/src/components/views/right_panel/UserInfo.tsx +++ b/src/components/views/right_panel/UserInfo.tsx @@ -942,7 +942,7 @@ function useRoomPermissions(cli: MatrixClient, room: Room, user: RoomMember): IR } setRoomPermissions({ - canInvite: me.powerLevel >= (powerLevels.invite ?? 50), + canInvite: me.powerLevel >= (powerLevels.invite ?? 0), canEdit: modifyLevelMax >= 0, modifyLevelMax, }); diff --git a/src/components/views/settings/tabs/room/RolesRoomSettingsTab.tsx b/src/components/views/settings/tabs/room/RolesRoomSettingsTab.tsx index e519ec0bf7..85cafc37b8 100644 --- a/src/components/views/settings/tabs/room/RolesRoomSettingsTab.tsx +++ b/src/components/views/settings/tabs/room/RolesRoomSettingsTab.tsx @@ -262,7 +262,7 @@ export default class RolesRoomSettingsTab extends React.Component { }, "invite": { desc: _t('Invite users'), - defaultValue: 50, + defaultValue: 0, }, "state_default": { desc: _t('Change settings'),