diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2021-02-19 11:02:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 11:02:03 +0000 |
commit | 13e9029f447e724016b904a1c847de2ad4736d66 (patch) | |
tree | c7badc51e4998079c0261499efc84c9f0c6e078a /changelog.d | |
parent | Add configs to make profile data more private (#9203) (diff) | |
download | synapse-13e9029f447e724016b904a1c847de2ad4736d66.tar.xz |
Add a config option to prioritise local users in user directory search results (#9383)
This PR adds a homeserver config option, `user_directory.prefer_local_users`, that when enabled will show local users higher in user directory search results than remote users. This option is off by default. Note that turning this on doesn't necessarily mean that remote users will always be put below local users, but they should be assuming all other ranking factors (search query match, profile information present etc) are identical. This is useful for, say, University networks that are openly federating, but want to prioritise local students and staff in the user directory over other random users.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/9383.feature | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9383.feature b/changelog.d/9383.feature new file mode 100644 index 0000000000..8957c9cc5e --- /dev/null +++ b/changelog.d/9383.feature @@ -0,0 +1 @@ +Add a configuration option, `user_directory.prefer_local_users`, which when enabled will make it more likely for users on the same server as you to appear above other users. \ No newline at end of file |