Add more configured options for riot-web and homeserver.

This commit is contained in:
anadahz
2018-11-18 02:00:08 +00:00
parent d3c9be2cdf
commit 3cb3f17a90
3 changed files with 37 additions and 0 deletions

View File

@ -10,10 +10,24 @@
"integrations_jitsi_widget_url": "{{ matrix_riot_web_integrations_jitsi_widget_url }}",
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
"enableLabs": true,
{% if riot_roomdir_servers is defined %}
{% for server in riot_roomdir_servers %}
"roomDirectory": {
"servers": [
"{{ server }}"
]
},
{% endfor %}
{% else %}
"roomDirectory": {
"servers": [
"matrix.org"
]
{% endif %}
{% if riot_welcome_bot|default(true)|bool %}
},
"welcomeUserId": "@riot-bot:matrix.org"
{% else %}
}
{% endif %}
}