diff options
author | Erik Johnston <erik@matrix.org> | 2022-05-25 12:59:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-25 12:59:04 +0100 |
commit | 4660d9fdcffc833ae4774ac7d162e63769373dc5 (patch) | |
tree | 3782f599708de9e95abbaf4dab02ca9da5dcea33 /synapse/handlers/search.py | |
parent | Remove user-visible groups/communities code (#12553) (diff) | |
download | synapse-4660d9fdcffc833ae4774ac7d162e63769373dc5.tar.xz |
Fix up `state_store` naming (#12871)
Diffstat (limited to 'synapse/handlers/search.py')
-rw-r--r-- | synapse/handlers/search.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/search.py b/synapse/handlers/search.py index cd1c47dae8..e02c915248 100644 --- a/synapse/handlers/search.py +++ b/synapse/handlers/search.py @@ -56,7 +56,7 @@ class SearchHandler: self._event_serializer = hs.get_event_client_serializer() self._relations_handler = hs.get_relations_handler() self.storage = hs.get_storage() - self.state_store = self.storage.state + self.state_storage = self.storage.state self.auth = hs.get_auth() async def get_old_rooms_from_upgraded_room(self, room_id: str) -> Iterable[str]: @@ -677,7 +677,7 @@ class SearchHandler: [(EventTypes.Member, sender) for sender in senders] ) - state = await self.state_store.get_state_for_event( + state = await self.state_storage.get_state_for_event( last_event_id, state_filter ) |