diff options
author | Matthew Fennell <matthew@fennell.dev> | 2024-08-19 22:01:58 +0100 |
---|---|---|
committer | Matthew Fennell <matthew@fennell.dev> | 2024-08-19 22:01:58 +0100 |
commit | 847f7f3d959ff8932466d45c60b16119acbec051 (patch) | |
tree | 70fadd25193a676954ee87da4b76ed5a94c48654 /files/virtual_host.cfg.lua.j2 | |
parent | 855aca35b77ce8a35b7e3ddbeeb532c447ffa25a (diff) |
Enable roster groups
This is useful for two reasons:
* To test clients that render roster groups provided by the server
* To evaluate whether it is worth enabling this flag in production
Diffstat (limited to 'files/virtual_host.cfg.lua.j2')
-rw-r--r-- | files/virtual_host.cfg.lua.j2 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/files/virtual_host.cfg.lua.j2 b/files/virtual_host.cfg.lua.j2 index 4558209..fae0cfd 100644 --- a/files/virtual_host.cfg.lua.j2 +++ b/files/virtual_host.cfg.lua.j2 @@ -7,6 +7,7 @@ VirtualHost "{{ virtual_host }}" admins = { "admin@{{ virtual_host }}" }; modules_enabled = { + "groups"; "invites"; "invites_adhoc"; "invites_api"; @@ -17,6 +18,10 @@ modules_enabled = { "turn_external"; } +{%- if roster_groups is defined %} +groups_file = "/etc/prosody/groups/{{ virtual_host }}.toml" +{% endif %} + contact_info = { abuse = { "xmpp:abuse@{{ virtual_host }}" }; admin = { "xmpp:admin@{{ virtual_host }}" }; |