0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-19 16:32:24 +01:00

Only auth_events with event if event in event.auth_events

This commit is contained in:
Erik Johnston 2015-01-30 15:57:53 +00:00
parent 7a1e881665
commit b724a809c4

View file

@ -805,6 +805,8 @@ class FederationHandler(BaseHandler):
yield self._handle_new_event(
origin, ev, auth_events=auth
)
if ev.event_id in event_auth_events:
auth_events[(ev.type, ev.state_key)] = ev
except AuthError:
pass