mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 02:54:56 -04:00
Do not recurse into non-spaces in the spaces summary. (#10256)
Previously m.child.room events in non-space rooms would be treated as part of the room graph, but this is no longer supported.
This commit is contained in:
parent
7647b0337f
commit
f55836929d
5 changed files with 43 additions and 26 deletions
|
@ -52,6 +52,7 @@ class RestHelper:
|
|||
room_version: str = None,
|
||||
tok: str = None,
|
||||
expect_code: int = 200,
|
||||
extra_content: Optional[Dict] = None,
|
||||
) -> str:
|
||||
"""
|
||||
Create a room.
|
||||
|
@ -72,7 +73,7 @@ class RestHelper:
|
|||
temp_id = self.auth_user_id
|
||||
self.auth_user_id = room_creator
|
||||
path = "/_matrix/client/r0/createRoom"
|
||||
content = {}
|
||||
content = extra_content or {}
|
||||
if not is_public:
|
||||
content["visibility"] = "private"
|
||||
if room_version:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue