summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-11-11 16:20:53 +0000
committerBrendan Abolivier <babolivier@matrix.org>2019-11-11 16:20:53 +0000
commit92527d7b2186a06c204c3c4bff47207252c5dea2 (patch)
treec9c3d50230e8b630ce81f05cd3695a8d2ec3a40f
parentImplement v2 API for send_join (diff)
downloadsynapse-92527d7b2186a06c204c3c4bff47207252c5dea2.tar.xz
Add missing yield
-rw-r--r--synapse/federation/federation_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index 50ae40504d..4a8e65c292 100644
--- a/synapse/federation/federation_client.py
+++ b/synapse/federation/federation_client.py
@@ -664,7 +664,7 @@ class FederationClient(FederationBase):
 
         @defer.inlineCallbacks
         def send_request(destination):
-            content = self._do_send_join(destination, pdu)
+            content = yield self._do_send_join(destination, pdu)
 
             logger.debug("Got content: %s", content)