mirror of
https://github.com/matrix-org/synapse.git
synced 2025-01-18 14:16:05 +00:00
Fix get_state_ids_for_event
return type typo to match what the function actually does (#10050)
It looks like a typo copy/paste from `get_state_for_event` above.
This commit is contained in:
parent
3e831f24ff
commit
5f1198a67e
1
changelog.d/10050.misc
Normal file
1
changelog.d/10050.misc
Normal file
@ -0,0 +1 @@
|
||||
Fix typo in `get_state_ids_for_event` docstring where the return type was incorrect.
|
@ -540,7 +540,7 @@ class StateGroupStorage:
|
||||
state_filter: The state filter used to fetch state from the database.
|
||||
|
||||
Returns:
|
||||
A dict from (type, state_key) -> state_event
|
||||
A dict from (type, state_key) -> state_event_id
|
||||
"""
|
||||
state_map = await self.get_state_ids_for_events(
|
||||
[event_id], state_filter or StateFilter.all()
|
||||
|
Loading…
Reference in New Issue
Block a user