Software / code / prosody-modules
Comparison
mod_muc_defaults/README.markdown @ 5563:a1f8cc591b66
Back out 22784f001b7f: Documentation change did not match code (thanks bronko)
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 22 Jun 2023 22:00:51 +0200 |
| parent | 3999:22784f001b7f |
comparison
equal
deleted
inserted
replaced
| 5562:734788d8bfc3 | 5563:a1f8cc591b66 |
|---|---|
| 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" }, |