mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04: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
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(
|
||||
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
Block a user