Move MSC2654 support behind an experimental configuration flag. (#12295)

To match the current thinking on disabling experimental features by default.
This commit is contained in:
Patrick Cloke 2022-03-31 15:05:13 -04:00 committed by GitHub
parent 6927d87254
commit bebf994ee8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 1 deletions

View file

@ -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"