mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-10 20:02:21 +02:00
That wasn't a deferred
This commit is contained in:
parent
4ac2823b3c
commit
2d386d7038
2 changed files with 2 additions and 4 deletions
|
@ -150,8 +150,6 @@ class BaseHandler(object):
|
||||||
|
|
||||||
notify_d.addErrback(log_failure)
|
notify_d.addErrback(log_failure)
|
||||||
|
|
||||||
fed_d = federation_handler.handle_new_event(
|
federation_handler.handle_new_event(
|
||||||
event, destinations=destinations,
|
event, destinations=destinations,
|
||||||
)
|
)
|
||||||
|
|
||||||
fed_d.addErrback(log_failure)
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ class FederationHandler(BaseHandler):
|
||||||
processing.
|
processing.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
self.replication_layer.send_pdu(event, destinations)
|
return self.replication_layer.send_pdu(event, destinations)
|
||||||
|
|
||||||
@log_function
|
@log_function
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
|
Loading…
Reference in a new issue