mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-08 18:24:35 +00:00
Add None check
This commit is contained in:
parent
aa729349dd
commit
3a653515ec
@ -523,7 +523,7 @@ class FederationClient(FederationBase):
|
|||||||
# Are we missing any?
|
# Are we missing any?
|
||||||
|
|
||||||
seen_events = set(earliest_events_ids)
|
seen_events = set(earliest_events_ids)
|
||||||
seen_events.update(e.event_id for e in signed_events)
|
seen_events.update(e.event_id for e in signed_events if e)
|
||||||
|
|
||||||
missing_events = {}
|
missing_events = {}
|
||||||
for e in itertools.chain(latest_events, signed_events):
|
for e in itertools.chain(latest_events, signed_events):
|
||||||
|
Loading…
Reference in New Issue
Block a user