summary refs log tree commit diff
path: root/synapse/federation/sender
diff options
context:
space:
mode:
authorMathieu Velten <mathieuv@matrix.org>2022-11-30 13:39:47 +0100
committerGitHub <noreply@github.com>2022-11-30 13:39:47 +0100
commit4569eda94423a10abb69e0f4d5f37eb723ed764b (patch)
tree35305f45fa85a9cdd76d1d2296ad39ae8e099562 /synapse/federation/sender
parentStop using deprecated `keyIds` param on /key/v2/server (#14525) (diff)
downloadsynapse-4569eda94423a10abb69e0f4d5f37eb723ed764b.tar.xz
Use servers list approx to send read receipts when in partial state (#14549)
Signed-off-by: Mathieu Velten <mathieuv@matrix.org>
Diffstat (limited to 'synapse/federation/sender')
-rw-r--r--synapse/federation/sender/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/sender/__init__.py b/synapse/federation/sender/__init__.py
index fc1d8c88a7..30ebd62883 100644
--- a/synapse/federation/sender/__init__.py
+++ b/synapse/federation/sender/__init__.py
@@ -647,7 +647,7 @@ class FederationSender(AbstractFederationSender):
         room_id = receipt.room_id
 
         # Work out which remote servers should be poked and poke them.
-        domains_set = await self._storage_controllers.state.get_current_hosts_in_room(
+        domains_set = await self._storage_controllers.state.get_current_hosts_in_room_or_partial_state_approximation(
             room_id
         )
         domains = [