From 992782b9f527f2c2cec083a46d4035d1a6e3673e Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Tue, 19 Aug 2014 14:24:53 +0100 Subject: [PATCH] Ensure that federation's .send_edu() returns a Deferred --- synapse/federation/replication.py | 1 + 1 file changed, 1 insertion(+) diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py index bc9df2f214f7..c9f2e06b7b7c 100644 --- a/synapse/federation/replication.py +++ b/synapse/federation/replication.py @@ -158,6 +158,7 @@ def send_edu(self, destination, edu_type, content): # TODO, add errback, etc. self._transaction_queue.enqueue_edu(edu) + return defer.succeed(None) @log_function def make_query(self, destination, query_type, args):