-
Notifications
You must be signed in to change notification settings - Fork 371
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
User Directory documentation is confusing and misleading. #1108
Comments
My reading of this says that as soon as you're in a room which is not invite-only, you can be found, even by people not in the room. I agree it could be clearer though. |
@Matrixcoffee The statement on it's own makes sense. It's the fact that you've also got " |
/me is bad at wording - sorry :( |
And technically, only synapse perform the search that way, it doesn't have to be done that way. |
if anyone can suggest better wording, that would be appreciated. Certainly what synapse does is not necessarily definitive here and details may be up to implementation or policy - so some aspects may be better phrased as recommendations or suggestions in the description. |
(I seem to be forever finding GH issues that I have missed) @maxidor I would very much like for this to define the behavior we should expect. If I write a client that says "this is a list of all known users" I would like for that to be the case. If you want to deviate from a behavior, use a parameter. |
@Half-Shot then I think you should be very specific about |
That's made more difficult by even synapse having a config toggle for what that means. |
The homeserver can implement its own algorithm, but is suggested to ensure the requesting user can reasonably see the other users. The text is intentionally left vague for whether or not the API is local users only to give the homeserver some flexibility in this area. General cleanup is also included in this commit. Fixes matrix-org#1108
73118b6#diff-a9b4f5ce35bb739be9f3fe515413e401R34
Implies that the search will cover the whole server, including the users I have not met.
Implies that the search will cover only users I have met, including those from other servers.
From what I can see, the synapse implementation does the latter of the two things but maybe it's a combination of both. Either way, the two sentences seem contradictory to me and I think it warrants further explaining.
As a person reading the spec, I'd assume it would be searching only my local server for users I have met.
The text was updated successfully, but these errors were encountered: