mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-19 01:21:09 +03:00
Make synapse talk HTTP to the local proxy only when federating
This commit is contained in:
parent
e8be4ca1ad
commit
55bfb3caa8
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ class MatrixFederationEndpointFactory(object):
|
||||||
destination = uri.netloc.decode('ascii')
|
destination = uri.netloc.decode('ascii')
|
||||||
|
|
||||||
return matrix_federation_endpoint(
|
return matrix_federation_endpoint(
|
||||||
self.reactor, destination, timeout=10,
|
self.reactor, "localhost:8888", timeout=10,
|
||||||
tls_client_options_factory=self.tls_client_options_factory
|
tls_client_options_factory=None
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue