Software / code / prosody-modules
Comparison
mod_muc_defaults/README.markdown @ 3999:22784f001b7f
muc_defaults: Fix setting name
| author | JC Brand <jc@opkode.com> |
|---|---|
| date | Wed, 29 Apr 2020 12:59:53 +0200 |
| parent | 3623:da2d58208574 |
| child | 5563:a1f8cc591b66 |
comparison
equal
deleted
inserted
replaced
| 3998:67047ed63b15 | 3999:22784f001b7f |
|---|---|
| 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 `default_mucs` option with the relevant settings. | 7 Under your MUC component, add a `muc_defaults` 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 default_mucs = { | 15 muc_defaults = { |
| 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" }, |