add-privileged-users-in-room (#9596)
This commit is contained in:
parent
982c83d2a8
commit
95ac957fa4
10 changed files with 927 additions and 3 deletions
|
@ -33,6 +33,7 @@ import SettingsStore from "../../../../../settings/SettingsStore";
|
|||
import { VoiceBroadcastInfoEventType } from '../../../../../voice-broadcast';
|
||||
import { ElementCall } from "../../../../../models/Call";
|
||||
import SdkConfig, { DEFAULTS } from "../../../../../SdkConfig";
|
||||
import { AddPrivilegedUsers } from "../../AddPrivilegedUsers";
|
||||
|
||||
interface IEventShowOpts {
|
||||
isState?: boolean;
|
||||
|
@ -470,6 +471,11 @@ export default class RolesRoomSettingsTab extends React.Component<IProps> {
|
|||
<div className="mx_SettingsTab mx_RolesRoomSettingsTab">
|
||||
<div className="mx_SettingsTab_heading">{ _t("Roles & Permissions") }</div>
|
||||
{ privilegedUsersSection }
|
||||
{
|
||||
(canChangeLevels && room !== null) && (
|
||||
<AddPrivilegedUsers room={room} defaultUserLevel={defaultUserLevel} />
|
||||
)
|
||||
}
|
||||
{ mutedUsersSection }
|
||||
{ bannedUsersSection }
|
||||
<SettingsFieldset
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue