mirror of
https://github.com/element-hq/synapse
synced 2024-08-20 10:50:21 +00:00
Add None checks to backfill
This commit is contained in:
parent
122c7a43c9
commit
ba07d4a70e
1 changed files with 2 additions and 2 deletions
|
@ -373,9 +373,9 @@ class FederationHandler(BaseHandler):
|
|||
],
|
||||
consumeErrors=True
|
||||
).addErrback(unwrapFirstError)
|
||||
auth_events.update({a.event_id: a for a in results})
|
||||
auth_events.update({a.event_id: a for a in results if a})
|
||||
required_auth.update(
|
||||
a_id for event in results for a_id, _ in event.auth_events
|
||||
a_id for event in results for a_id, _ in event.auth_events if event
|
||||
)
|
||||
missing_auth = required_auth - set(auth_events)
|
||||
|
||||
|
|
Loading…
Reference in a new issue