summary refs log tree commit diff
path: root/synapse/storage/controllers/state.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-09-20 07:48:55 -0400
committerGitHub <noreply@github.com>2023-09-20 07:48:55 -0400
commit7ec0a141b4bdda0fa67cb1f2af7f321b9963f0b8 (patch)
tree8a500d3fce31d337d50d43c75df70d243371acb2 /synapse/storage/controllers/state.py
parentReturn immutable objects for cachedList decorators (#16350) (diff)
downloadsynapse-7ec0a141b4bdda0fa67cb1f2af7f321b9963f0b8.tar.xz
Convert more cached return values to immutable types (#16356)
Diffstat (limited to 'synapse/storage/controllers/state.py')
-rw-r--r--synapse/storage/controllers/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/controllers/state.py b/synapse/storage/controllers/state.py
index 278c7832ba..10d219c045 100644
--- a/synapse/storage/controllers/state.py
+++ b/synapse/storage/controllers/state.py
@@ -582,7 +582,7 @@ class StateStorageController:
 
     @trace
     @tag_args
-    async def get_current_hosts_in_room_ordered(self, room_id: str) -> List[str]:
+    async def get_current_hosts_in_room_ordered(self, room_id: str) -> Tuple[str, ...]:
         """Get current hosts in room based on current state.
 
         Blocks until we have full state for the given room. This only happens for rooms