summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index bb80108a30..b21056f617 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -1004,7 +1004,7 @@ class SQLBaseStore(object):
 
         return [
             event_map[e_id] for e_id in events
-            if e_id in event_map and event_id[e_id]
+            if e_id in event_map and event_map[e_id]
         ]
 
     def _get_event_from_row_txn(self, txn, internal_metadata, js, redacted,