mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 09:44:56 -04:00
Check sender signed event
This commit is contained in:
parent
2cb758ac75
commit
ebdafd8114
3 changed files with 12 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue