mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 13:59:21 -05:00
Do bounds check
This commit is contained in:
parent
5119e416e8
commit
aa88582e00
@ -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 New Issue
Block a user