mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 21:23:50 +01:00
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.)
This commit is contained in:
parent
557635f69a
commit
8e15c92c2f
2 changed files with 2 additions and 1 deletions
1
changelog.d/10079.bugfix
Normal file
1
changelog.d/10079.bugfix
Normal file
|
@ -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(
|
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.
|
||||||
|
|
Loading…
Reference in a new issue