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

Commit

Permalink
Fix return type typo to match what the function actually does
Browse files Browse the repository at this point in the history
Split out from #9247

It looks like a typo copy/paste from `get_state_for_event` above.
  • Loading branch information
MadLittleMods committed May 24, 2021
1 parent 3e831f2 commit f7c2bfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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.
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

0 comments on commit f7c2bfe

Please sign in to comment.