You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This might be somewhere between bug and feature request, since the description of the configuration setting says it prefers them but does not put them first. Depending on the use case (i.e. schools and other organizations), it is ideal to show the local users first and foremost.
prefer_local_users: Defines whether to prefer local users in search query results. If set to true, local users are more likely to appear above remote users when searching the user directory. Defaults to false.
Steps to reproduce
In homeserver.yaml config, set prefer_local_users: true
Search for a user by localpart using /user_directory/search
Notice that results from my homeserver (matrix.mit.edu) appears in fourth place whereas I expected it to be above the other remove homeservers.
Homeserver
matrix.mit.edu
Synapse Version
1.81.0+jammy1
Installation Method
Debian packages from packages.matrix.org
Database
Single PostgreSQL 14+238 server, no ports or restores
This issue has been migrated from #15521.
Description
This might be somewhere between bug and feature request, since the description of the configuration setting says it prefers them but does not put them first. Depending on the use case (i.e. schools and other organizations), it is ideal to show the local users first and foremost.
Steps to reproduce
homeserver.yaml
config, setprefer_local_users: true
/user_directory/search
matrix.mit.edu
) appears in fourth place whereas I expected it to be above the other remove homeservers.Homeserver
matrix.mit.edu
Synapse Version
1.81.0+jammy1
Installation Method
Debian packages from packages.matrix.org
Database
Single PostgreSQL 14+238 server, no ports or restores
Workers
Single process
Platform
Ubuntu 20.04
Configuration
Relevant log output
Anything else that would be useful to know?
No response
Related: #12958 (asks for ability to only show local users, this is an in-between)
The text was updated successfully, but these errors were encountered: