summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-02 14:44:58 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-10-03 11:24:36 +0100
commit6527fa18c1e6f9bcb22318916b5e9534c91c84c1 (patch)
treeab7c136555547f7d8c2760408e41358793d44598 /synapse/handlers
parentChangelog (diff)
downloadsynapse-6527fa18c1e6f9bcb22318916b5e9534c91c84c1.tar.xz
Add test case
Diffstat (limited to 'synapse/handlers')
-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 75d79bb8e4..91f3a69298 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -2570,7 +2570,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