mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 12:32:32 +00:00
Default to private room visibility rather than public when a client does not specify one, according to spec. (#12350)
This commit is contained in:
1 parent
336bff1104
commit
c4cf916ed7
5 files changed
+15
-7
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user