Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Always add local users to the user directory #10796

Merged
merged 5 commits into from
Sep 21, 2021

Commits on Sep 10, 2021

  1. Always add local users to the user directory

    This means the config option `search_all_users` ends up controlling the
    search query only, and not the data we store. The cost of doing so is an
    extra row in the `user_directory` and `user_directory_search` tables for
    each local user in zero rooms. I think the cost of this will be
    marginal (since they'll already have entries in `users` and `profiles`
    anyway).
    
    As a small upside, a homeserver whose directory was built with this
    change can toggle `search_all_users` without having to rebuild their
    directory.
    David Robertson committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    27aac3e View commit details
    Browse the repository at this point in the history
  2. Changelog

    David Robertson committed Sep 10, 2021
    Configuration menu
    Copy the full SHA
    d0695f7 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2021

  1. Update search_all_users config option docs

    David Robertson committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    f0845a7 View commit details
    Browse the repository at this point in the history
  2. typo build -> built

    Thanks Rich
    
    Co-authored-by: Richard van der Hoff <[email protected]>
    David Robertson and richvdh authored Sep 21, 2021
    Configuration menu
    Copy the full SHA
    7d5d158 View commit details
    Browse the repository at this point in the history
  3. update sample config

    David Robertson committed Sep 21, 2021
    Configuration menu
    Copy the full SHA
    ea2c973 View commit details
    Browse the repository at this point in the history