Restrict general chat to local users

This commit is contained in:
Matthew Wild 2020-05-13 12:20:25 +01:00
parent 7f128e4672
commit cb853ed32f
2 changed files with 3 additions and 3 deletions

View File

@ -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!";

View File

@ -88,6 +88,7 @@
- mod_bookmarks
- mod_default_bookmarks
- mod_muc_defaults
- mod_muc_local_only
- mod_firewall
- mod_turncredentials