mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Only auth_events with event if event in event.auth_events
This commit is contained in:
parent
7a1e881665
commit
b724a809c4
@ -805,7 +805,9 @@ class FederationHandler(BaseHandler):
|
||||
yield self._handle_new_event(
|
||||
origin, ev, auth_events=auth
|
||||
)
|
||||
auth_events[(ev.type, ev.state_key)] = ev
|
||||
|
||||
if ev.event_id in event_auth_events:
|
||||
auth_events[(ev.type, ev.state_key)] = ev
|
||||
except AuthError:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user