summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-11-30 01:45:34 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-11-30 01:45:34 +0000
commit5406392f8b4790e36bb60758436b18594ae7a8e0 (patch)
tree35c88746e28c17f3d38e44788691089738c44433 /synapse
parentremove null constraint on user_dir.room_id (diff)
downloadsynapse-5406392f8b4790e36bb60758436b18594ae7a8e0.tar.xz
specify default user_directory_include_pattern
Diffstat (limited to 'synapse')
-rw-r--r--synapse/config/user_directory.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/user_directory.py b/synapse/config/user_directory.py
index 86177da401..cf358fe8a9 100644
--- a/synapse/config/user_directory.py
+++ b/synapse/config/user_directory.py
@@ -22,6 +22,7 @@ class UserDirectoryConfig(Config):
     """
 
     def read_config(self, config):
+        self.user_directory_include_pattern = None
         user_directory_config = config.get("user_directory", None)
         if user_directory_config:
             self.user_directory_include_pattern = (