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

Commit

Permalink
Tidy up bad docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Aug 26, 2022
1 parent 4e62c46 commit d630c0c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions synapse/storage/databases/main/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,12 +864,10 @@ async def get_joined_user_ids_from_state(
self, room_id: str, state: StateMap[str]
) -> Set[str]:
"""
For a given set of state IDs, get a map of user ID to profile information
for users in the room.
For a given set of state IDs, get a set of user IDs in the room.
This method doesn't do any fetching of data itself and instead checks various
caches for the relevant data before passing any remaining missing event IDs to
`_get_joined_profiles_from_event_ids` which does the actual data fetching.
This method checks the local event cache, before calling
`_get_user_ids_from_membership_event_ids` for any uncached events.
"""

with Measure(self._clock, "get_joined_user_ids_from_state"):
Expand Down

0 comments on commit d630c0c

Please sign in to comment.