From c4cf916ed7d09d13d84f964dd683e1ecfd21815b Mon Sep 17 00:00:00 2001 From: reivilibre Date: Fri, 1 Apr 2022 15:55:09 +0100 Subject: Default to `private` room visibility rather than `public` when a client does not specify one, according to spec. (#12350) --- tests/module_api/test_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/module_api') diff --git a/tests/module_api/test_api.py b/tests/module_api/test_api.py index 36dfe5c36a..dee248801d 100644 --- a/tests/module_api/test_api.py +++ b/tests/module_api/test_api.py @@ -292,7 +292,7 @@ class ModuleApiTestCase(HomeserverTestCase): # Create a user and room to play with user_id = self.register_user("kermit", "monkey") tok = self.login("kermit", "monkey") - room_id = self.helper.create_room_as(user_id, tok=tok) + room_id = self.helper.create_room_as(user_id, tok=tok, is_public=False) # The room should not currently be in the public rooms directory is_in_public_rooms = self.get_success( -- cgit 1.4.1