That wasn't a deferred

This commit is contained in:
Erik Johnston 2015-05-01 14:41:16 +01:00
parent 4ac2823b3c
commit 2d386d7038
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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