summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-02 14:44:58 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-10-04 12:10:19 +0100
commita6a55039a4d5daddbcd1ea2100dff0694d3f4fcb (patch)
treefd901a6d2102efd6223b4ef3201bb9aab59ded21 /synapse/handlers/federation.py
parentChangelog (diff)
downloadsynapse-a6a55039a4d5daddbcd1ea2100dff0694d3f4fcb.tar.xz
Add test case
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 80733679c6..403bebbf59 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -2671,7 +2671,7 @@ class FederationHandler(BaseHandler):
         )
 
         try:
-            self.auth.check_from_context(room_version, event, context)
+            yield self.auth.check_from_context(room_version, event, context)
         except AuthError as e:
             logger.warn("Denying third party invite %r because %s", event, e)
             raise e