forked from MirrorHub/synapse
Remove the unspecced room_id
field in the /hierarchy
response. (#13365)
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.
This commit is contained in:
parent
ca3db044a3
commit
57d334a13d
2 changed files with 1 additions and 1 deletions
1
changelog.d/13365.bugfix
Normal file
1
changelog.d/13365.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
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`).
|
|
@ -452,7 +452,6 @@ class RoomSummaryHandler:
|
||||||
"type": e.type,
|
"type": e.type,
|
||||||
"state_key": e.state_key,
|
"state_key": e.state_key,
|
||||||
"content": e.content,
|
"content": e.content,
|
||||||
"room_id": e.room_id,
|
|
||||||
"sender": e.sender,
|
"sender": e.sender,
|
||||||
"origin_server_ts": e.origin_server_ts,
|
"origin_server_ts": e.origin_server_ts,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue