diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-19 14:24:53 +0100 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2014-08-19 14:26:06 +0100 |
commit | 992782b9f527f2c2cec083a46d4035d1a6e3673e (patch) | |
tree | d1a14a9403c68488f87c2836ddb80c82ef47bbb4 /synapse/federation/replication.py | |
parent | Add a DeferredMockCallable; like mock's MockCallable but allows awaiting (diff) | |
download | synapse-992782b9f527f2c2cec083a46d4035d1a6e3673e.tar.xz |
Ensure that federation's .send_edu() returns a Deferred
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/replication.py | 1 |
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): |