summary refs log tree commit diff
path: root/synapse/state
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-05-21 16:42:51 +0100
committerErik Johnston <erik@matrix.org>2022-05-21 16:42:51 +0100
commit8e47d72992b0ec08148ff52dce0fee75fe067ba1 (patch)
tree99b8c917f0a2dad9f404a9022dbcf8e836ea685a /synapse/state
parentMerge branch 'erikj/less_state_on_missing' into erikj/push_hack (diff)
downloadsynapse-8e47d72992b0ec08148ff52dce0fee75fe067ba1.tar.xz
Pull current hosts out from current_state table
Diffstat (limited to 'synapse/state')
-rw-r--r--synapse/state/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/state/__init__.py b/synapse/state/__init__.py
index 96b5e48571..6d534ef7f7 100644
--- a/synapse/state/__init__.py
+++ b/synapse/state/__init__.py
@@ -172,10 +172,6 @@ class StateHandler:
         entry = await self.resolve_state_groups_for_events(room_id, latest_event_ids)
         return await self.store.get_joined_users_from_state(room_id, entry)
 
-    async def get_current_hosts_in_room(self, room_id: str) -> FrozenSet[str]:
-        event_ids = await self.store.get_latest_event_ids_in_room(room_id)
-        return await self.get_hosts_in_room_at_events(room_id, event_ids)
-
     async def get_hosts_in_room_at_events(
         self, room_id: str, event_ids: Collection[str]
     ) -> FrozenSet[str]: