forked from MirrorHub/synapse
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)
|
||||
|
||||
fed_d = federation_handler.handle_new_event(
|
||||
federation_handler.handle_new_event(
|
||||
event, destinations=destinations,
|
||||
)
|
||||
|
||||
fed_d.addErrback(log_failure)
|
||||
|
|
|
@ -87,7 +87,7 @@ class FederationHandler(BaseHandler):
|
|||
processing.
|
||||
"""
|
||||
|
||||
self.replication_layer.send_pdu(event, destinations)
|
||||
return self.replication_layer.send_pdu(event, destinations)
|
||||
|
||||
@log_function
|
||||
@defer.inlineCallbacks
|
||||
|
|
Loading…
Reference in a new issue