1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index b220238e55..57ab05ad25 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -1540,7 +1540,9 @@ class TimestampLookupHandler:
)
likely_domains = (
- await self._storage_controllers.state.get_current_hosts_in_room(room_id)
+ await self._storage_controllers.state.get_current_hosts_in_room_ordered(
+ room_id
+ )
)
# Loop through each homeserver candidate until we get a succesful response
|