Skip to content
Snippets Groups Projects
Commit b724a809 authored by Erik Johnston's avatar Erik Johnston
Browse files

Only auth_events with event if event in event.auth_events

parent 7a1e8816
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment