diff options
author | Matthew Hodgson <matthew@matrix.org> | 2017-12-04 14:58:39 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2017-12-04 14:58:39 +0000 |
commit | 1bd40ca73e1a6dc83d0a6c96f52071553960b3a8 (patch) | |
tree | 644933c87362e2eac73ae69b9bd94f444813fd44 /synapse/handlers/profile.py | |
parent | Merge branch 'develop' into matthew/search-all-local-users (diff) | |
download | synapse-1bd40ca73e1a6dc83d0a6c96f52071553960b3a8.tar.xz |
switch to a simpler 'search_all_users' button as per review feedback
Diffstat (limited to 'synapse/handlers/profile.py')
-rw-r--r-- | synapse/handlers/profile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index 0a394a10b2..50e81a20e4 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -141,7 +141,7 @@ class ProfileHandler(BaseHandler): target_user.localpart, new_displayname ) - if self.hs.config.user_directory_include_pattern: + if self.hs.config.user_directory_search_all_users: profile = yield self.store.get_profileinfo(target_user.localpart) yield self.user_directory_handler.handle_local_profile_change( target_user.to_string(), profile @@ -191,7 +191,7 @@ class ProfileHandler(BaseHandler): target_user.localpart, new_avatar_url ) - if self.hs.config.user_directory_include_pattern: + if self.hs.config.user_directory_search_all_users: profile = yield self.store.get_profileinfo(target_user.localpart) yield self.user_directory_handler.handle_local_profile_change( target_user.user_id, profile |