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/pagination.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/pagination.py')
-rw-r--r-- | synapse/handlers/pagination.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/pagination.py b/synapse/handlers/pagination.py index 19a4407050..6f4820c240 100644 --- a/synapse/handlers/pagination.py +++ b/synapse/handlers/pagination.py @@ -130,7 +130,7 @@ class PaginationHandler: self.auth = hs.get_auth() self.store = hs.get_datastores().main self.storage = hs.get_storage() - self.state_store = self.storage.state + self.state_storage = self.storage.state self.clock = hs.get_clock() self._server_name = hs.hostname self._room_shutdown_handler = hs.get_room_shutdown_handler() @@ -539,7 +539,7 @@ class PaginationHandler: (EventTypes.Member, event.sender) for event in events ) - state_ids = await self.state_store.get_state_ids_for_event( + state_ids = await self.state_storage.get_state_ids_for_event( events[0].event_id, state_filter=state_filter ) |