Skip to content
Snippets Groups Projects
Unverified Commit 26bc2658 authored by reivilibre's avatar reivilibre Committed by GitHub
Browse files

Remove the unspecced room_id field in the /hierarchy response. (#13506)

This is a re-do of 57d334a1 (#13365),
which was backed out in 12abd724 (#13501).

The `room_id` field represented the parent space for each room
and was made redundant by changes in the API shape where the
`children_state` is now nested underneath each `room`.

The room ID of each child is in the `state_key` field and is still
available.
parent c9b7e973
No related branches found
No related tags found
No related merge requests found
Fix a bug introduced in Synapse v1.41.0 where the `/hierarchy` API returned non-standard information (a `room_id` field under each entry in `children_state`).
\ No newline at end of file
......@@ -453,7 +453,6 @@ class RoomSummaryHandler:
"type": e.type,
"state_key": e.state_key,
"content": e.content,
"room_id": e.room_id,
"sender": e.sender,
"origin_server_ts": e.origin_server_ts,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment