This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Local users don't always appear first even with prefer_local_users: true
#15521
Labels
A-User-Directory
T-Enhancement
New features, changes in functionality, improvements in performance, or user-facing enhancements.
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: