summary refs log tree commit diff
path: root/synapse/handlers/register.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-12-04 14:58:39 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-12-04 14:58:39 +0000
commit1bd40ca73e1a6dc83d0a6c96f52071553960b3a8 (patch)
tree644933c87362e2eac73ae69b9bd94f444813fd44 /synapse/handlers/register.py
parentMerge branch 'develop' into matthew/search-all-local-users (diff)
downloadsynapse-1bd40ca73e1a6dc83d0a6c96f52071553960b3a8.tar.xz
switch to a simpler 'search_all_users' button as per review feedback
Diffstat (limited to 'synapse/handlers/register.py')
-rw-r--r--synapse/handlers/register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/register.py b/synapse/handlers/register.py
index 5db106dfca..4bc6ef51fe 100644
--- a/synapse/handlers/register.py
+++ b/synapse/handlers/register.py
@@ -167,7 +167,7 @@ class RegistrationHandler(BaseHandler):
                 admin=admin,
             )
 
-            if self.hs.config.user_directory_include_pattern:
+            if self.hs.config.user_directory_search_all_users:
                 profile = yield self.store.get_profileinfo(localpart)
                 yield self.user_directory_handler.handle_local_profile_change(
                     user_id, profile