Do not try to use TURNS when TLS disabled for Coturn

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1145
This commit is contained in:
Slavi Pantaleev 2021-07-02 17:05:08 +03:00
parent 8b146f083e
commit 3777334778

View file

@ -1682,7 +1682,7 @@ matrix_synapse_turn_uris: |
[
'turns:' + matrix_server_fqn_matrix + '?transport=udp',
'turns:' + matrix_server_fqn_matrix + '?transport=tcp',
] if matrix_coturn_enabled and matrix_ssl_retrieval_method != 'lets-encrypt' else []
] if matrix_coturn_enabled and matrix_coturn_tls_enabled and matrix_ssl_retrieval_method != 'lets-encrypt' else []
+
[
'turn:' + matrix_server_fqn_matrix + '?transport=udp',