2017-07-31 22:07:30 +02:00
|
|
|
{
|
2018-09-17 07:43:54 +02:00
|
|
|
"default_hs_url": "{{ matrix_homeserver_url }}",
|
|
|
|
"default_is_url": "{{ matrix_identity_server_url }}",
|
2018-11-03 02:14:03 +01:00
|
|
|
"disable_custom_urls": {{ matrix_riot_web_disable_custom_urls|lower }},
|
|
|
|
"disable_guests": {{ matrix_riot_web_disable_guests|lower }},
|
2017-07-31 22:07:30 +02:00
|
|
|
"brand": "Riot",
|
2018-11-03 02:14:03 +01:00
|
|
|
"integrations_ui_url": "{{ matrix_riot_web_integrations_ui_url }}",
|
|
|
|
"integrations_rest_url": "{{ matrix_riot_web_integrations_rest_url }}",
|
|
|
|
"integrations_widgets_urls": "{{ matrix_riot_web_integrations_widgets_urls }}",
|
|
|
|
"integrations_jitsi_widget_url": "{{ matrix_riot_web_integrations_jitsi_widget_url }}",
|
2017-07-31 22:07:30 +02:00
|
|
|
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
|
|
|
|
"enableLabs": true,
|
2018-11-18 03:00:08 +01:00
|
|
|
{% if riot_roomdir_servers is defined %}
|
|
|
|
{% for server in riot_roomdir_servers %}
|
|
|
|
"roomDirectory": {
|
|
|
|
"servers": [
|
|
|
|
"{{ server }}"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{% endfor %}
|
|
|
|
{% else %}
|
2017-07-31 22:07:30 +02:00
|
|
|
"roomDirectory": {
|
|
|
|
"servers": [
|
|
|
|
"matrix.org"
|
|
|
|
]
|
2018-11-18 03:00:08 +01:00
|
|
|
{% endif %}
|
|
|
|
{% if riot_welcome_bot|default(true)|bool %}
|
2017-07-31 22:07:30 +02:00
|
|
|
},
|
|
|
|
"welcomeUserId": "@riot-bot:matrix.org"
|
2018-11-18 03:00:08 +01:00
|
|
|
{% else %}
|
|
|
|
}
|
|
|
|
{% endif %}
|
2018-11-03 02:14:03 +01:00
|
|
|
}
|