0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-22 08:13:58 +01:00

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

View file

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