Move sliding sync url logic out of matrix-client.j2

This commit is contained in:
Samuel Meenzen
2023-08-11 08:13:49 +00:00
parent 9faa65f059
commit 837cca4ee1
3 changed files with 12 additions and 6 deletions

View File

@ -26,13 +26,9 @@
"preferredDomain": {{ matrix_client_element_jitsi_preferred_domain|to_json }}
}
{% endif %}
{% if matrix_sliding_sync_enabled %},
{% if matrix_homeserver_sliding_sync_url %},
"org.matrix.msc3575.proxy": {
"url": "{{ matrix_sliding_sync_base_url }}"
}
{% elif matrix_homeserver_implementation == 'conduit' %},
"org.matrix.msc3575.proxy": {
"url": "{{ matrix_homeserver_url }}"
"url": "{{ matrix_homeserver_sliding_sync_url }}"
}
{% endif %}
{% if matrix_client_element_location_sharing_enabled %},