diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-17 12:03:34 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-01-17 12:03:48 +0000 |
commit | 439d71a8d141840f64fb75530d57765e19e54647 (patch) | |
tree | fc71c24a08cfac67439c21aa1d5c491d118cba73 /synapse/http | |
parent | linting (diff) | |
download | synapse-439d71a8d141840f64fb75530d57765e19e54647.tar.xz |
Fix missing hs property
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py index e56c2012f2..f5b963dbd0 100644 --- a/synapse/http/matrixfederationclient.py +++ b/synapse/http/matrixfederationclient.py @@ -69,10 +69,11 @@ class ProxyMatrixFederationEndpointFactory(object): def __init__(self, hs): self.reactor = hs.get_reactor() self.tls_client_options_factory = hs.tls_client_options_factory + self.federation_request_gateway_addr = hs.config.federation_request_gateway_addr def endpointForURI(self, uri): return matrix_federation_endpoint( - self.reactor, self.hs.federation_request_gateway_addr, timeout=10, + self.reactor, self.federation_request_gateway_addr, timeout=10, tls_client_options_factory=None ) |