summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-14 16:49:37 +0100
committerErik Johnston <erik@matrix.org>2016-07-14 17:03:24 +0100
commitebdafd8114d1aed631a3497ad142f79efa9face7 (patch)
treebe0326483c80d7f9e992ffbedd9b939f3ca56fdb /synapse/handlers
parentCheck if alias event's state_key matches sender's domain (diff)
downloadsynapse-ebdafd8114d1aed631a3497ad142f79efa9face7.tar.xz
Check sender signed event
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/federation.py4
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