Software /
code /
prosody-modules
Comparison
mod_muc_defaults/README.markdown @ 5593:04f36a470dca
Update from upstream
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Sun, 09 Jul 2023 01:31:29 +0700 |
parent | 5563:a1f8cc591b66 |
comparison
equal
deleted
inserted
replaced
5591:680fb3344357 | 5593:04f36a470dca |
---|---|
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" }, |