mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 07:14:10 -04:00
Add additional type hints to the storage module. (#8980)
This commit is contained in:
parent
b8591899ab
commit
637282bb50
12 changed files with 224 additions and 148 deletions
|
@ -554,7 +554,7 @@ class SyncHandler:
|
|||
event.event_id, state_filter=state_filter
|
||||
)
|
||||
if event.is_state():
|
||||
state_ids = state_ids.copy()
|
||||
state_ids = dict(state_ids)
|
||||
state_ids[(event.type, event.state_key)] = event.event_id
|
||||
return state_ids
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue