2
0
Fork 0
xmpp-server/etc/prosody/conf.d/xmpp.how.cfg.lua
2025-02-10 21:35:41 +01:00

17 lines
591 B
Lua

-- xmpp.how is only meant for MUC hosting
-- The apex domain is used as the MUC component for this reason
VirtualHost "chat.xmpp.how"
Component "xmpp.how" "muc"
modules_enabled = { "muc_mam", "vcard_muc", "muc_moderation", "muc_offline_delivery", "muc_hats_adhoc" }
restrict_room_creation = true
component_admins_as_room_owners = true
max_history_messages = 1
muc_room_default_history_length = 100
muc_log_by_default = true
muc_log_presences = false
log_all_rooms = true
muc_log_expires_after = "1m" -- Remove archived messages after 1 month
muc_log_cleanup_interval = 4*60*60 -- 4 hours