summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-19 15:27:09 +0100
committerErik Johnston <erik@matrix.org>2015-05-19 15:27:09 +0100
commit3a653515ec3bba9d5b143e37bc9569d5caa50a5b (patch)
tree1b4b266ab1e16f265c0cfdae205c97be9c229a23 /synapse/federation/federation_client.py
parentFix event_backwards_extrem insertion to ignore outliers (diff)
downloadsynapse-3a653515ec3bba9d5b143e37bc9569d5caa50a5b.tar.xz
Add None check
Diffstat (limited to '')
-rw-r--r--synapse/federation/federation_client.py2
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):