diff options
author | Mathieu Velten <mathieuv@matrix.org> | 2022-11-30 13:39:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-30 13:39:47 +0100 |
commit | 4569eda94423a10abb69e0f4d5f37eb723ed764b (patch) | |
tree | 35305f45fa85a9cdd76d1d2296ad39ae8e099562 /tests/federation/test_federation_sender.py | |
parent | Stop using deprecated `keyIds` param on /key/v2/server (#14525) (diff) | |
download | synapse-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 'tests/federation/test_federation_sender.py')
-rw-r--r-- | tests/federation/test_federation_sender.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/federation/test_federation_sender.py b/tests/federation/test_federation_sender.py index 01f147418b..cbc99d30b9 100644 --- a/tests/federation/test_federation_sender.py +++ b/tests/federation/test_federation_sender.py @@ -38,6 +38,10 @@ class FederationSenderReceiptsTestCases(HomeserverTestCase): return_value=make_awaitable({"test", "host2"}) ) + hs.get_storage_controllers().state.get_current_hosts_in_room_or_partial_state_approximation = ( + hs.get_storage_controllers().state.get_current_hosts_in_room + ) + return hs @override_config({"send_federation": True}) |