mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-30 19:58:36 +00:00 
			
		
		
		
	Remove the unspecced room_id field in the /hierarchy response. (#13506)
This is a re-do of 57d334a13d983406ea452dfa203bbe4837509c4e (#13365), which was backed out in 12abd724974a2311d5311272d26d2f8aa11734a9 (#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.
This commit is contained in:
		
							parent
							
								
									c9b7e97355
								
							
						
					
					
						commit
						26bc26586b
					
				
							
								
								
									
										1
									
								
								changelog.d/13506.bugfix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								changelog.d/13506.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`). | ||||
| @ -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, | ||||
|             } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user