Skip to content
Snippets Groups Projects
Unverified Commit 8e15c92c authored by Patrick Cloke's avatar Patrick Cloke Committed by GitHub
Browse files

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.)
parent 557635f6
No related branches found
No related tags found
No related merge requests found
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): ...@@ -1398,7 +1398,7 @@ class FederationSpaceSummaryServlet(BaseFederationServlet):
) )
return 200, await self.handler.federation_space_summary( 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. # TODO When switching to the stable endpoint, remove the POST handler.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment