diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-02 14:44:58 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-10-03 11:24:36 +0100 |
commit | 6527fa18c1e6f9bcb22318916b5e9534c91c84c1 (patch) | |
tree | ab7c136555547f7d8c2760408e41358793d44598 /synapse | |
parent | Changelog (diff) | |
download | synapse-6527fa18c1e6f9bcb22318916b5e9534c91c84c1.tar.xz |
Add test case
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/federation.py | 2 |
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 |