Need to pass reactor to endpoint fac

This commit is contained in:
Erik Johnston 2018-06-25 15:22:57 +01:00
parent 36cb570641
commit 947fea67cb

View File

@ -74,7 +74,7 @@ def matrix_federation_endpoint(reactor, destination, ssl_context_factory=None,
reactor, "matrix", domain, protocol="tcp",
default_port=default_port, endpoint=transport_endpoint,
endpoint_kw_args=endpoint_kw_args
))
), reactor)
else:
return _WrappingEndpointFac(transport_endpoint(
reactor, domain, port, **endpoint_kw_args