Mercurial > prosody-modules
diff mod_muc_members_json/README.md @ 6431:459cb2c2789b
mod_muc_members_json: Support private MUCs, non-member affiliation grants, async storage, dry-run mode
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Tue, 10 Mar 2026 16:58:17 +0000 |
| parents | 6696075e26e2 |
| children |
line wrap: on
line diff
--- a/mod_muc_members_json/README.md Tue Mar 10 16:13:25 2026 +0100 +++ b/mod_muc_members_json/README.md Tue Mar 10 16:58:17 2026 +0000 @@ -42,6 +42,20 @@ muc_members_json_mucs = { -- This configures hats for the myroom@<this MUC host> MUC myroom = { + -- Set the MUC to private. In this case the MUC will be closed + -- to anyone who doesn't have one of the owner_roles, admin_roles + -- or member_roles specified below + private = true; + + -- Specify privileges based on roles specified in the JSON + owner_roles = { "staff" }; + admin_roles = { "moderator" }; + + -- If not specified, anyone listed in the JSON will be added + -- as a member. Otherwise, only the specified roles will + -- become members in this MUC. + member_roles = { "myteam" }; + -- The optional field 'member_hat' defines a hat that will be -- added to any user that is listed in the members JSON -- (regardless of what roles they have, if any) @@ -92,6 +106,6 @@ ------- ------------------ trunk Works - 0.12 Works + 13.0 Works ------- ------------------
