mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 09:39:25 -05:00
That wasn't a deferred
This commit is contained in:
parent
4ac2823b3c
commit
2d386d7038
@ -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 New Issue
Block a user