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

Merge pull request #1043 from matrix-org/erikj/backfill_fix

Fix None check in backfill
parents 1a1e198f cd5b264b
No related branches found
No related tags found
No related merge requests found
...@@ -377,7 +377,9 @@ class FederationHandler(BaseHandler): ...@@ -377,7 +377,9 @@ class FederationHandler(BaseHandler):
)).addErrback(unwrapFirstError) )).addErrback(unwrapFirstError)
auth_events.update({a.event_id: a for a in results if a}) auth_events.update({a.event_id: a for a in results if a})
required_auth.update( required_auth.update(
a_id for event in results for a_id, _ in event.auth_events if event a_id
for event in results if event
for a_id, _ in event.auth_events
) )
missing_auth = required_auth - set(auth_events) missing_auth = required_auth - set(auth_events)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment