diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-19 15:27:09 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-19 15:27:09 +0100 |
commit | 3a653515ec3bba9d5b143e37bc9569d5caa50a5b (patch) | |
tree | 1b4b266ab1e16f265c0cfdae205c97be9c229a23 /synapse | |
parent | Fix event_backwards_extrem insertion to ignore outliers (diff) | |
download | synapse-3a653515ec3bba9d5b143e37bc9569d5caa50a5b.tar.xz |
Add None check
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/federation/federation_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index a163b2674d..4b3bf97835 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -523,7 +523,7 @@ class FederationClient(FederationBase): # Are we missing any? 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 = {} for e in itertools.chain(latest_events, signed_events): |