From bebf994ee804ef63ce16801c6694713fcd685320 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 31 Mar 2022 15:05:13 -0400 Subject: Move MSC2654 support behind an experimental configuration flag. (#12295) To match the current thinking on disabling experimental features by default. --- tests/rest/client/test_sync.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/rest') diff --git a/tests/rest/client/test_sync.py b/tests/rest/client/test_sync.py index 3cebbd18f0..773c16a54c 100644 --- a/tests/rest/client/test_sync.py +++ b/tests/rest/client/test_sync.py @@ -496,6 +496,11 @@ class UnreadMessagesTestCase(unittest.HomeserverTestCase): receipts.register_servlets, ] + def default_config(self) -> JsonDict: + config = super().default_config() + config["experimental_features"] = {"msc2654_enabled": True} + return config + def prepare(self, reactor: MemoryReactor, clock: Clock, hs: HomeServer) -> None: self.url = "/sync?since=%s" self.next_batch = "s0" -- cgit 1.4.1