summary refs log tree commit diff
path: root/tests/rest/client/test_sync.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-03-31 15:05:13 -0400
committerGitHub <noreply@github.com>2022-03-31 15:05:13 -0400
commitbebf994ee804ef63ce16801c6694713fcd685320 (patch)
treefd409e3f2f51451a407e372a1abbbb2af68f3c7e /tests/rest/client/test_sync.py
parentHandle outliers in `/federation/v1/event` (#12332) (diff)
downloadsynapse-bebf994ee804ef63ce16801c6694713fcd685320.tar.xz
Move MSC2654 support behind an experimental configuration flag. (#12295)
To match the current thinking on disabling experimental features by default.
Diffstat (limited to 'tests/rest/client/test_sync.py')
-rw-r--r--tests/rest/client/test_sync.py5
1 files changed, 5 insertions, 0 deletions
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"