This commit is contained in:
Erik Johnston 2016-07-15 09:29:54 +01:00
parent ebdafd8114
commit 9e1b43bcbf
2 changed files with 6 additions and 0 deletions

View file

@ -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: