Default to private room visibility rather than public when a client does not specify one, according to spec. (#12350)

This commit is contained in:
reivilibre authored and GitHub committed 2022-04-01 15:55:09 +01:00
1 parent 336bff1104
commit c4cf916ed7
5 files changed
+15 -7

No files matched your search

+1 -1
View File
@@ -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(