equal
deleted
inserted
replaced
42 ============= |
42 ============= |
43 |
43 |
44 Enable the plugin on a MUC host (do not put it in your global |
44 Enable the plugin on a MUC host (do not put it in your global |
45 modules\_enabled list): |
45 modules\_enabled list): |
46 |
46 |
47 Component "conference.example.com" "muc" |
47 ``` {.lua} |
48 modules_enabled = { "muc_config_restrict" } |
48 Component "conference.example.com" "muc" |
49 muc_config_restricted = { |
49 modules_enabled = { "muc_config_restrict" } |
50 "muc#roomconfig_persistentroom"; -- Prevent non-admins from changing a room's persistence setting |
50 muc_config_restricted = { |
51 "muc#roomconfig_membersonly"; -- Prevent non-admins from changing whether rooms are members-only |
51 "muc#roomconfig_persistentroom"; -- Prevent non-admins from changing a room's persistence setting |
52 } |
52 "muc#roomconfig_membersonly"; -- Prevent non-admins from changing whether rooms are members-only |
|
53 } |
|
54 ``` |
53 |
55 |
54 Compatibility |
56 Compatibility |
55 ============= |
57 ============= |
56 |
58 |
57 ------- -------------- |
59 ------- -------------- |