summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-13 15:44:15 +0100
committerErik Johnston <erik@matrix.org>2015-05-13 15:44:15 +0100
commita988361aea45e77ed94952e16a2c96fd0cb1d362 (patch)
tree75b23bb94a04398b15499c572e49c22bbd125acd
parentDon't insert None (diff)
downloadsynapse-a988361aea45e77ed94952e16a2c96fd0cb1d362.tar.xz
Typo
Diffstat (limited to '')
-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,