diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-02 14:44:58 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-10-04 12:10:19 +0100 |
commit | a6a55039a4d5daddbcd1ea2100dff0694d3f4fcb (patch) | |
tree | fd901a6d2102efd6223b4ef3201bb9aab59ded21 /synapse/handlers/federation.py | |
parent | Changelog (diff) | |
download | synapse-a6a55039a4d5daddbcd1ea2100dff0694d3f4fcb.tar.xz |
Add test case
Diffstat (limited to 'synapse/handlers/federation.py')
-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 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 |