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:
Eric Eastwood 2021-05-24 04:43:33 -05:00 committed by GitHub
parent 3e831f24ff
commit 5f1198a67e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/10050.misc Normal file
View File

@ -0,0 +1 @@
Fix typo in `get_state_ids_for_event` docstring where the return type was incorrect.

View File

@ -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()