diff options
| author | Matthew Fennell <matthew@fennell.dev> | 2025-09-21 13:27:03 +0100 |
|---|---|---|
| committer | Matthew Fennell <matthew@fennell.dev> | 2025-09-21 13:27:03 +0100 |
| commit | 0de73cc61a02b6b7b226a375f0566ba7001a3286 (patch) | |
| tree | 6b24b2d71dea37249a1e2078b0fc71664277897c /files/virtual_host.cfg.lua.j2 | |
| parent | c686f233201cd2d5d60ebc4b9127d1bc2389dcc3 (diff) | |
Place anti-spam modules behind a flag
There will be no s2s connections on the transport server, so anti-spam modules
won't provide much benefit.
Diffstat (limited to 'files/virtual_host.cfg.lua.j2')
| -rw-r--r-- | files/virtual_host.cfg.lua.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index c21886b..5452481 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -53,8 +53,12 @@ Component "conference.{{ virtual_host }}" "muc" modules_enabled = { "muc"; "muc_mam"; + + -- Spam +{% if not is_transport_server %} "muc_moderation"; "muc_rtbl"; +{% endif %} } log_all_rooms = true @@ -62,4 +66,6 @@ restrict_room_creation = "local" muc_room_default_public = false muc_room_default_public_jids = true +{% if not is_transport_server %} muc_rtbl_jid = "xmppbl.org" +{% endif %} |
