Do bounds check

This commit is contained in:
Erik Johnston 2015-08-10 10:08:15 +01:00
parent 5119e416e8
commit aa88582e00

View File

@ -433,7 +433,10 @@ class StateStore(SQLBaseStore):
key: None
for key in missing_types
}
evs = [state_events[e_id] for e_id in state_ids]
evs = [
state_events[e_id] for e_id in state_ids
if e_id in state_events # This can happen if event is rejected.
]
state_dict.update({
(e.type, e.state_key): e
for e in evs