Browse Source

Revert 'Remove the unspecced field in the response. (#13365)' to give more time for clients to update. (#13501)

reivilibre 1 year ago
parent
commit
12abd72497
2 changed files with 2 additions and 0 deletions
  1. 1 0
      changelog.d/13501.misc
  2. 1 0
      synapse/handlers/room_summary.py

+ 1 - 0
changelog.d/13501.misc

@@ -0,0 +1 @@
+Revert 'Remove the unspecced `room_id` field in the `/hierarchy` response. (#13365)' to give more time for clients to update.

+ 1 - 0
synapse/handlers/room_summary.py

@@ -453,6 +453,7 @@ 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,
             }