diff options
author | Nick Mills-Barrett <nick@beeper.com> | 2022-08-31 12:19:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 12:19:39 +0100 |
commit | 42b11d5565ed026c7d71f433c69e7b7007f45918 (patch) | |
tree | c9d80874d44de85451f15af80c350fe118b913c3 /synapse/state/__init__.py | |
parent | Generalise the `@cancellable` annotation so it can be used on functions other... (diff) | |
download | synapse-42b11d5565ed026c7d71f433c69e7b7007f45918.tar.xz |
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).
Diffstat (limited to 'synapse/state/__init__.py')
-rw-r--r-- | synapse/state/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py index 3047e1b1ad..3787d35b24 100644 --- a/synapse/state/__init__.py +++ b/synapse/state/__init__.py @@ -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] |