diff --git a/ansible/files/prosody.cfg.lua b/ansible/files/prosody.cfg.lua index 556f9c0..d23c109 100644 --- a/ansible/files/prosody.cfg.lua +++ b/ansible/files/prosody.cfg.lua @@ -147,19 +147,18 @@ VirtualHost (DOMAIN) Component ("groups."..DOMAIN) "muc" modules_enabled = { "muc_mam"; + "muc_local_only"; "vcard_muc"; "muc_defaults"; } restrict_room_creation = "local" + muc_local_only = { "general@"..DOMAIN } muc_room_default_persistent = true muc_room_default_allow_member_invites = true default_mucs = { { jid_node = "general"; - affiliations = { - owner = { "admin@"..DOMAIN }; - }; config = { name = "General Chat"; description = "Welcome to "..DOMAIN.." general chat!"; diff --git a/ansible/tasks/prosody.yml b/ansible/tasks/prosody.yml index e2da573..8485d15 100644 --- a/ansible/tasks/prosody.yml +++ b/ansible/tasks/prosody.yml @@ -88,6 +88,7 @@ - mod_bookmarks - mod_default_bookmarks - mod_muc_defaults + - mod_muc_local_only - mod_firewall - mod_turncredentials