Pass the origin when calculating the spaces summary over GET. (#10079)
Fixes a bug due to conflicting PRs which were merged. (One added a new caller to a method, the other added a new parameter to the same method.)release-v1.35.0
							parent
							
								
									557635f69a
								
							
						
					
					
						commit
						8e15c92c2f
					
				|  | @ -0,0 +1 @@ | |||
| Fix a bug introduced in v1.35.0rc1 when calling the spaces summary API via a GET request. | ||||
|  | @ -1398,7 +1398,7 @@ class FederationSpaceSummaryServlet(BaseFederationServlet): | |||
|                 ) | ||||
| 
 | ||||
|         return 200, await self.handler.federation_space_summary( | ||||
|             room_id, suggested_only, max_rooms_per_space, exclude_rooms | ||||
|             origin, room_id, suggested_only, max_rooms_per_space, exclude_rooms | ||||
|         ) | ||||
| 
 | ||||
|     # TODO When switching to the stable endpoint, remove the POST handler. | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Patrick Cloke
						Patrick Cloke