-
Notifications
You must be signed in to change notification settings - Fork 317
Add the ability to exclude remote users in user directory search results #18300
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
Conversation
I think the failing tests are due to them being flakey. EDIT: passing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small suggestions and a potential perf optimisation below.
Thanks for contributing. This looks like a useful feature for smaller homeservers!
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the requested changes. This looks good to merge!
@wrjlewis Um, looks like tests started failing on https://github.com/element-hq/synapse/actions/runs/14797357096/job/41547797957 Perhaps this could be reverted until the test results are more consistent? |
…rch results (element-hq#18300)" This reverts commit fe8bb62. It introduced a regression in the workers test suite
…rch results (element-hq#18300)" This reverts commit fe8bb62. It introduced a regression in the workers test suite
This change adds a new configuration
user_directory.exclude_remote_users
, which defaults to False.When set to True, remote users will not appear in user directory search results.
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)