forked from MirrorHub/synapse
Do bounds check
This commit is contained in:
parent
5119e416e8
commit
aa88582e00
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue