mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-07 10:51:56 +00:00
Fix None check in backfill
This commit is contained in:
parent
eb6a7cf3f4
commit
cd5b264b03
@ -377,7 +377,9 @@ class FederationHandler(BaseHandler):
|
||||
)).addErrback(unwrapFirstError)
|
||||
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 if event
|
||||
a_id
|
||||
for event in results if event
|
||||
for a_id, _ in event.auth_events
|
||||
)
|
||||
missing_auth = required_auth - set(auth_events)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user