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{}, }, } }