diff --git a/roles/matrix-base/templates/static-files/well-known/matrix-client.j2 b/roles/matrix-base/templates/static-files/well-known/matrix-client.j2 index 4e93c2d8d..1316bbb54 100644 --- a/roles/matrix-base/templates/static-files/well-known/matrix-client.j2 +++ b/roles/matrix-base/templates/static-files/well-known/matrix-client.j2 @@ -8,4 +8,14 @@ "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 %} }