mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-18 20:14:49 -04:00
Remove cached wrap on _get_joined_users_from_context
method (#13569)
The method doesn't actually do any data fetching and the method that does, `_get_joined_profile_from_event_id`, has its own cache. Signed off by Nick @ Beeper (@Fizzadar).
This commit is contained in:
parent
7bc110a19e
commit
42b11d5565
3 changed files with 41 additions and 86 deletions
|
@ -232,7 +232,7 @@ class StateHandler:
|
|||
logger.debug("calling resolve_state_groups from get_current_user_ids_in_room")
|
||||
entry = await self.resolve_state_groups_for_events(room_id, latest_event_ids)
|
||||
state = await entry.get_state(self._state_storage_controller, StateFilter.all())
|
||||
return await self.store.get_joined_user_ids_from_state(room_id, state, entry)
|
||||
return await self.store.get_joined_user_ids_from_state(room_id, state)
|
||||
|
||||
async def get_hosts_in_room_at_events(
|
||||
self, room_id: str, event_ids: Collection[str]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue