This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Always add local users to the user directory #10796
Merged
Merged
Changes from 1 commit
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -45,12 +45,16 @@ def generate_config_section(self, config_dir_path, server_name, **kwargs): | |||||||||||||
#enabled: false | ||||||||||||||
|
||||||||||||||
# Defines whether to search all users visible to your HS when searching | ||||||||||||||
# the user directory, rather than limiting to users visible in public | ||||||||||||||
# rooms. Defaults to false. | ||||||||||||||
# the user directory. If false, search results will only contain users | ||||||||||||||
# visible in public rooms and users sharing a room with the requester. | ||||||||||||||
# Defaults to false. | ||||||||||||||
# | ||||||||||||||
# If you set it true, you'll have to rebuild the user_directory search | ||||||||||||||
# indexes, see: | ||||||||||||||
# https://matrix-org.github.io/synapse/latest/user_directory.html | ||||||||||||||
# NB. If you set this to true, and the last time the user_directory search | ||||||||||||||
# indexes were (re)built was before Synapse 1.44, you'll have to | ||||||||||||||
# rebuild the indexes in order to search through all known users. | ||||||||||||||
# These indexes are build the first time Synapse starts; admins can | ||||||||||||||
DMRobertson marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||||||||
# manually trigger a rebuild following the instructions at | ||||||||||||||
# https://matrix-org.github.io/synapse/latest/user_directory.html | ||||||||||||||
# | ||||||||||||||
# Uncomment to return search results containing all known users, even if that | ||||||||||||||
# user does not share a room with the requester. | ||||||||||||||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
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.
indices
was my instinct too, but "indexes" seems to be slightly more common. No strong opinions personally, but FWIW(of course, postgres doesn't have a monopoly on the concept of a db index)