Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Stop returning the room_id from the /hierarchy endpoint. #13365

Merged
merged 3 commits into from
Jul 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/13365.bugfix
Original file line number Diff line number Diff line change
@@ -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`).
1 change: 0 additions & 1 deletion synapse/handlers/room_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,6 @@ async def _summarize_local_room(
"type": e.type,
"state_key": e.state_key,
"content": e.content,
"room_id": e.room_id,
squahtx marked this conversation as resolved.
Show resolved Hide resolved
"sender": e.sender,
"origin_server_ts": e.origin_server_ts,
}
Expand Down