Skip to content
Snippets Groups Projects
Unverified Commit 5f1198a6 authored by Eric Eastwood's avatar Eric Eastwood Committed by GitHub
Browse files

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.
parent 3e831f24
Branches
Tags
No related merge requests found
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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment