mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 20:34:48 -04: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:
parent
336bff1104
commit
c4cf916ed7
5 changed files with 15 additions and 7 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue