summary refs log tree commit diff
path: root/synapse/state.py
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/state.py
parentCheck if alias event's state_key matches sender's domain (diff)
downloadsynapse-ebdafd8114d1aed631a3497ad142f79efa9face7.tar.xz
Check sender signed event
Diffstat (limited to '')
-rw-r--r--synapse/state.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/state.py b/synapse/state.py
index d0f76dc4f5..d7d08570c9 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -379,7 +379,7 @@ class StateHandler(object):
             try:
                 # FIXME: hs.get_auth() is bad style, but we need to do it to
                 # get around circular deps.
-                self.hs.get_auth().check(event, auth_events)
+                self.hs.get_auth().check(event, auth_events, do_sig_check=False)
                 prev_event = event
             except AuthError:
                 return prev_event
@@ -391,7 +391,7 @@ class StateHandler(object):
             try:
                 # FIXME: hs.get_auth() is bad style, but we need to do it to
                 # get around circular deps.
-                self.hs.get_auth().check(event, auth_events)
+                self.hs.get_auth().check(event, auth_events, do_sig_check=False)
                 return event
             except AuthError:
                 pass