matrix-docker-ansible-deploy/roles/matrix-base/templates/static-files/well-known/matrix-client.j2
Aaron Raimist fe932273aa
Implement MSC1957: Integration manager discovery
https://github.com/matrix-org/matrix-doc/pull/1957

Yay Riot iOS now supports integration manager discovery!
2019-12-05 17:32:51 -06:00

22 lines
508 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_dimension_integrations_rest_url and matrix_dimension_integrations_ui_url %},
"m.integrations": {
"managers": [
{
"api_url": "{{ matrix_dimension_integrations_rest_url }}",
"ui_url": "{{ matrix_dimension_integrations_ui_url }}"
}
]
}
{% endif %}
}