Mercurial > prosody-modules
comparison mod_muc_defaults/README.markdown @ 5653:62c6e17a5e9d
Merge
author | Stephen Paul Weber <singpolyma@singpolyma.net> |
---|---|
date | Mon, 18 Sep 2023 08:24:19 -0500 |
parents | a1f8cc591b66 |
children |
comparison
equal
deleted
inserted
replaced
5652:eade7ff9f52c | 5653:62c6e17a5e9d |
---|---|
2 | 2 |
3 Creates MUCs with default configuration settings upon Prosody startup. | 3 Creates MUCs with default configuration settings upon Prosody startup. |
4 | 4 |
5 ## Configuration | 5 ## Configuration |
6 | 6 |
7 Under your MUC component, add a `muc_defaults` option with the relevant settings. | 7 Under your MUC component, add a `default_mucs` option with the relevant settings. |
8 | 8 |
9 ``` | 9 ``` |
10 Component "conference.example.org" "muc" | 10 Component "conference.example.org" "muc" |
11 modules_enabled = { | 11 modules_enabled = { |
12 "muc_defaults"; | 12 "muc_defaults"; |
13 } | 13 } |
14 | 14 |
15 muc_defaults = { | 15 default_mucs = { |
16 { | 16 { |
17 jid_node = "trollbox", | 17 jid_node = "trollbox", |
18 affiliations = { | 18 affiliations = { |
19 admin = { "admin@example.org", "superuser@example.org" }, | 19 admin = { "admin@example.org", "superuser@example.org" }, |
20 owner = { "owner@example.org" }, | 20 owner = { "owner@example.org" }, |