0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-06-14 02:18:34 +02:00

Make federated spaces work

This commit is contained in:
Till Faelligen 2024-03-24 19:45:30 +01:00
parent ad0a7d09e8
commit 42a452cec2
No known key found for this signature in database
GPG key ID: 3DF82D8AB9211D4E

View file

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