summary refs log tree commit diff
path: root/synapse/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-07-15 09:29:54 +0100
committerErik Johnston <erik@matrix.org>2016-07-15 09:29:54 +0100
commit9e1b43bcbf46c38510cd8348b7df3eb5f6374e81 (patch)
treea354ddc40423d7f648f5a5d4dab6e13bc15b3427 /synapse/state.py
parentCheck sender signed event (diff)
downloadsynapse-9e1b43bcbf46c38510cd8348b7df3eb5f6374e81.tar.xz
Comment
Diffstat (limited to '')
-rw-r--r--synapse/state.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/state.py b/synapse/state.py
index d7d08570c9..ef1bc470be 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -379,6 +379,7 @@ class StateHandler(object):
             try:
                 # FIXME: hs.get_auth() is bad style, but we need to do it to
                 # get around circular deps.
+                # The signatures have already been checked at this point
                 self.hs.get_auth().check(event, auth_events, do_sig_check=False)
                 prev_event = event
             except AuthError:
@@ -391,6 +392,7 @@ class StateHandler(object):
             try:
                 # FIXME: hs.get_auth() is bad style, but we need to do it to
                 # get around circular deps.
+                # The signatures have already been checked at this point
                 self.hs.get_auth().check(event, auth_events, do_sig_check=False)
                 return event
             except AuthError: