switch to a simpler 'search_all_users' button as per review feedback

This commit is contained in:
Matthew Hodgson 2017-12-04 14:58:39 +00:00
parent f397153dfc
commit 1bd40ca73e
5 changed files with 30 additions and 37 deletions

View file

@ -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