diff options
author | Erik Johnston <erik@matrix.org> | 2016-07-14 16:49:37 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-07-14 17:03:24 +0100 |
commit | ebdafd8114d1aed631a3497ad142f79efa9face7 (patch) | |
tree | be0326483c80d7f9e992ffbedd9b939f3ca56fdb /synapse/handlers/federation.py | |
parent | Check if alias event's state_key matches sender's domain (diff) | |
download | synapse-ebdafd8114d1aed631a3497ad142f79efa9face7.tar.xz |
Check sender signed event
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r-- | synapse/handlers/federation.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index 351b218247..4e8ffa8f7b 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -688,7 +688,7 @@ class FederationHandler(BaseHandler): logger.warn("Failed to create join %r because %s", event, e) raise e - self.auth.check(event, auth_events=context.current_state) + self.auth.check(event, auth_events=context.current_state, do_sig_check=False) defer.returnValue(event) @@ -918,7 +918,7 @@ class FederationHandler(BaseHandler): ) try: - self.auth.check(event, auth_events=context.current_state) + self.auth.check(event, auth_events=context.current_state, do_sig_check=False) except AuthError as e: logger.warn("Failed to create new leave %r because %s", event, e) raise e |