Make synapse talk HTTP to the local proxy only when federating

This commit is contained in:
Brendan Abolivier 2018-11-23 10:08:28 +00:00 committed by Brendan Abolivier
parent e8be4ca1ad
commit 55bfb3caa8

View file

@ -74,8 +74,8 @@ class MatrixFederationEndpointFactory(object):
destination = uri.netloc.decode('ascii')
return matrix_federation_endpoint(
self.reactor, destination, timeout=10,
tls_client_options_factory=self.tls_client_options_factory
self.reactor, "localhost:8888", timeout=10,
tls_client_options_factory=None
)