summary refs log tree commit diff
path: root/synapse/federation/transport/server.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-05-27 08:52:28 -0400
committerGitHub <noreply@github.com>2021-05-27 08:52:28 -0400
commit8e15c92c2f9e581e59ff68495fa99e998849bb4d (patch)
tree268a1b28e4efeda8e0ed0f5efe2e125c76158471 /synapse/federation/transport/server.py
parent 1.35.0rc1 (diff)
downloadsynapse-8e15c92c2f9e581e59ff68495fa99e998849bb4d.tar.xz
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.)
Diffstat (limited to '')
-rw-r--r--synapse/federation/transport/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 9d50b05d01..40eab45549 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -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.