summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-12-04 17:51:33 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-12-04 17:51:33 +0000
commitb11dca20252af94cfad900bf7aa1915844cb07b1 (patch)
tree587d4c6ee671724a5f2c2b136db344bee8f87a8b
parenttry make tests work a bit more... (diff)
downloadsynapse-b11dca20252af94cfad900bf7aa1915844cb07b1.tar.xz
better doc
-rw-r--r--synapse/config/user_directory.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/synapse/config/user_directory.py b/synapse/config/user_directory.py
index 55b4e553ee..38e8947843 100644
--- a/synapse/config/user_directory.py
+++ b/synapse/config/user_directory.py
@@ -32,9 +32,12 @@ class UserDirectoryConfig(Config):
     def default_config(self, config_dir_path, server_name, **kwargs):
         return """
         # User Directory configuration
+        #
         # 'search_all_users' 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.
+        # in public rooms.  Defaults to false.  If you set it True, you'll have to run
+        # UPDATE user_directory_stream_pos SET stream_id = NULL;
+        # on your database to tell it to rebuild the user_directory search indexes.
         #
         #user_directory:
         #   search_all_users: false