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
|
@ -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.
|
state_filter: The state filter used to fetch state from the database.
|
||||||
|
|
||||||
Returns:
|
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(
|
state_map = await self.get_state_ids_for_events(
|
||||||
[event_id], state_filter or StateFilter.all()
|
[event_id], state_filter or StateFilter.all()
|
||||||
|
|
Loading…
Reference in New Issue