mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 06:22:51 +01:00
b9c8d059d0
According to the docs, "e2ee" is already under "io.element": https://github.com/vector-im/element-web/blob/develop/docs/e2ee.md#disabling-encryption-by-default however "jitsi" is still under "im.vector.riot": https://github.com/vector-im/element-web/blob/develop/docs/jitsi.md#configuring-element-to-use-your-self-hosted-jitsi-server For now let's just maintain backward and forward compatibility for both settings since the client version is out of the control of this playbook.
38 lines
935 B
Django/Jinja
38 lines
935 B
Django/Jinja
#jinja2: lstrip_blocks: "True"
|
|
{
|
|
"m.homeserver": {
|
|
"base_url": "{{ matrix_homeserver_url }}"
|
|
}
|
|
{% if matrix_identity_server_url %},
|
|
"m.identity_server": {
|
|
"base_url": "{{ matrix_identity_server_url }}"
|
|
}
|
|
{% endif %}
|
|
{% if matrix_integration_manager_rest_url and matrix_integration_manager_ui_url %},
|
|
"m.integrations": {
|
|
"managers": [
|
|
{
|
|
"api_url": "{{ matrix_integration_manager_rest_url }}",
|
|
"ui_url": "{{ matrix_integration_manager_ui_url }}"
|
|
}
|
|
]
|
|
}
|
|
{% endif %}
|
|
{% if matrix_client_element_jitsi_preferredDomain %},
|
|
"io.element.jitsi": {
|
|
"preferredDomain": {{ matrix_client_element_jitsi_preferredDomain|to_json }}
|
|
},
|
|
"im.vector.riot.jitsi": {
|
|
"preferredDomain": {{ matrix_client_element_jitsi_preferredDomain|to_json }}
|
|
}
|
|
{% endif %}
|
|
{% if not matrix_client_element_e2ee_default %},
|
|
"io.element.e2ee": {
|
|
"default": false
|
|
},
|
|
"im.vector.riot.e2ee": {
|
|
"default": false
|
|
}
|
|
{% endif %}
|
|
}
|