summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-06-15 12:47:05 +0100
committerErik Johnston <erik@matrix.org>2017-06-16 11:47:11 +0100
commit6aa5bc86351a617546f0adacfebab3388716be3f (patch)
treeb11119ec7cfb2c01d4419884e96580cf0d7313fe /synapse/config/server.py
parentInclude users who share room with requester in user directory (diff)
downloadsynapse-6aa5bc86351a617546f0adacfebab3388716be3f.tar.xz
Initial worker impl
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 3910b9dc31..28b4e5f50c 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -35,6 +35,10 @@ class ServerConfig(Config):
         # "disable" federation
         self.send_federation = config.get("send_federation", True)
 
+        # Whether to update the user directory or not. This should be set to
+        # false only if we are updating the user directory in a worker
+        self.update_user_directory = config.get("update_user_directory", True)
+
         self.filter_timeline_limit = config.get("filter_timeline_limit", -1)
 
         if self.public_baseurl is not None: