mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-06 14:14:19 -04:00
Stop depending on room_id
to be returned for children state in the hierarchy response. (#12991)
The `room_id` field was removed from MSC2946 before it was accepted. It was initially kept for backwards compatibility and should be removed now that the stable form of the API is used. This change only stops Synapse from validating that it is returned, a future PR will remove returning it as part of the response.
This commit is contained in:
parent
3d1d510fa9
commit
81608490e3
3 changed files with 3 additions and 5 deletions
|
@ -178,7 +178,7 @@ class SpaceSummaryTestCase(unittest.HomeserverTestCase):
|
|||
result_room_ids.append(result_room["room_id"])
|
||||
result_children_ids.append(
|
||||
[
|
||||
(cs["room_id"], cs["state_key"])
|
||||
(result_room["room_id"], cs["state_key"])
|
||||
for cs in result_room["children_state"]
|
||||
]
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue