mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 16:40:20 +00:00
Need to pass reactor to endpoint fac
This commit is contained in:
parent
36cb570641
commit
947fea67cb
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def matrix_federation_endpoint(reactor, destination, ssl_context_factory=None,
|
||||||
reactor, "matrix", domain, protocol="tcp",
|
reactor, "matrix", domain, protocol="tcp",
|
||||||
default_port=default_port, endpoint=transport_endpoint,
|
default_port=default_port, endpoint=transport_endpoint,
|
||||||
endpoint_kw_args=endpoint_kw_args
|
endpoint_kw_args=endpoint_kw_args
|
||||||
))
|
), reactor)
|
||||||
else:
|
else:
|
||||||
return _WrappingEndpointFac(transport_endpoint(
|
return _WrappingEndpointFac(transport_endpoint(
|
||||||
reactor, domain, port, **endpoint_kw_args
|
reactor, domain, port, **endpoint_kw_args
|
||||||
|
|
Loading…
Reference in a new issue