summary refs log tree commit diff
path: root/synapse/federation/replication.py
diff options
context:
space:
mode:
authorPaul "LeoNerd" Evans <paul@matrix.org>2014-08-19 14:24:53 +0100
committerPaul "LeoNerd" Evans <paul@matrix.org>2014-08-19 14:26:06 +0100
commit992782b9f527f2c2cec083a46d4035d1a6e3673e (patch)
treed1a14a9403c68488f87c2836ddb80c82ef47bbb4 /synapse/federation/replication.py
parentAdd a DeferredMockCallable; like mock's MockCallable but allows awaiting (diff)
downloadsynapse-992782b9f527f2c2cec083a46d4035d1a6e3673e.tar.xz
Ensure that federation's .send_edu() returns a Deferred
Diffstat (limited to '')
-rw-r--r--synapse/federation/replication.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/replication.py b/synapse/federation/replication.py
index bc9df2f214..c9f2e06b7b 100644
--- a/synapse/federation/replication.py
+++ b/synapse/federation/replication.py
@@ -158,6 +158,7 @@ class ReplicationLayer(object):
 
         # TODO, add errback, etc.
         self._transaction_queue.enqueue_edu(edu)
+        return defer.succeed(None)
 
     @log_function
     def make_query(self, destination, query_type, args):