Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix get_state_ids_for_event return type typo to match what the function actually does #10050

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/10050.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix `get_state_ids_for_event` return type typo to match what the function actually does.
erikjohnston marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion synapse/storage/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ async def get_state_ids_for_event(
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()
Expand Down