Do not try to use TURNS when TLS disabled for Coturn

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1145
development
Slavi Pantaleev 3 years ago
parent 8b146f083e
commit 3777334778

@ -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',

Loading…
Cancel
Save