-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spec does not say which rooms are returned from /hierarchy
#1184
Comments
/hierarchy
According to [MSC2946](https://github.com/matrix-org/matrix-spec-proposals/blob/main/proposals/2946-spaces-summary.md#client-server-api), Any room that is ... potentially joinable is returned. This doesn't seem to be reflected at https://spec.matrix.org/v1.3/client-server-api/#get_matrixclientv1roomsroomidhierarchy./hierarchy
In particular: are rooms with an |
If the user has a pending invite they can see the room: https://github.com/matrix-org/synapse/blob/6236afc621925cd01b67cf026cb28b4f7bd0384e/synapse/handlers/room_summary.py#L585-L606 Knockable rooms are also shown: https://github.com/matrix-org/synapse/blob/6236afc621925cd01b67cf026cb28b4f7bd0384e/synapse/handlers/room_summary.py#L565-L573 This was definitely the intention of those lines in MSC2946, I can try to dig up old threads in the PR if you want. |
Thanks for the clarifications @clokep. It's somewhat surprising to me that changing the join rule to |
I think knock rooms are generally thought to be "findable" and that's why they're returned. This fits pretty well into the description of discoverability given in MSC2403. If a room is knockable the implication is that you want people to find it, but they must ask to join it. (I should also note that if the user has a pending |
Let's take discussion of whether that behaviour is correct to #1186. |
Conclusion of #1186 was that we're fine for knockable rooms to be returned by |
So this was actually defined in MSC3173:
Seems like #3606 missed this part of the MSC? Note that Synapse also returns rooms with |
According to MSC2946, "Any room that is ... potentially joinable (per MSC3173) is returned". This doesn't seem to be reflected at https://spec.matrix.org/v1.3/client-server-api/#get_matrixclientv1roomsroomidhierarchy.
The text was updated successfully, but these errors were encountered: