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

Commit

Permalink
Fix mergem missing method rename
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Aug 25, 2022
1 parent 8379222 commit 6404481
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synapse/storage/databases/main/roommember.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,9 +860,9 @@ async def get_mutual_rooms_between_users(

return shared_room_ids or frozenset()

async def get_joined_users_from_state(
async def get_joined_user_ids_from_state(
self, room_id: str, state: StateMap[str]
) -> Dict[str, ProfileInfo]:
) -> Set[str]:
"""
For a given set of state IDs, get a map of user ID to profile information
for users in the room.
Expand All @@ -872,7 +872,7 @@ async def get_joined_users_from_state(
`_get_joined_profiles_from_event_ids` which does the actual data fetching.
"""

with Measure(self._clock, "get_joined_users_from_state"):
with Measure(self._clock, "get_joined_user_ids_from_state"):
users_in_room = set()
member_event_ids = [
e_id
Expand Down

0 comments on commit 6404481

Please sign in to comment.