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:
parent
ad0a7d09e8
commit
42a452cec2
|
@ -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{},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue