From 42a452cec2d6eda0e35431e9e3b2a19fcdf05f26 Mon Sep 17 00:00:00 2001 From: Till Faelligen <2353100+S7evinK@users.noreply.github.com> Date: Sun, 24 Mar 2024 19:45:30 +0100 Subject: [PATCH] Make federated spaces work --- federationapi/routing/query.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/federationapi/routing/query.go b/federationapi/routing/query.go index 327ba9b08..c2e63c1b9 100644 --- a/federationapi/routing/query.go +++ b/federationapi/routing/query.go @@ -177,6 +177,8 @@ func QueryRoomHierarchy(httpReq *http.Request, request *fclient.FederationReques JSON: fclient.RoomHierarchyResponse{ Room: discoveredRooms[0], Children: discoveredRooms[1:], + // TODO: Actually check which rooms the requesting server/user is not allowed to see. + InaccessibleChildren: []string{}, }, } }