summary refs log tree commit diff
path: root/synapse/handlers/profile.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2017-12-04 15:11:38 +0000
committerMatthew Hodgson <matthew@matrix.org>2017-12-04 15:11:38 +0000
commit74e0cc74ceb48a8c55615180f67406b339c88a18 (patch)
tree302c02463b0c8be4d75f7230e35c08cc799c5b66 /synapse/handlers/profile.py
parentswitch to a simpler 'search_all_users' button as per review feedback (diff)
downloadsynapse-74e0cc74ceb48a8c55615180f67406b339c88a18.tar.xz
fix pep8 and tests
Diffstat (limited to 'synapse/handlers/profile.py')
-rw-r--r--synapse/handlers/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py
index 50e81a20e4..9800e24453 100644
--- a/synapse/handlers/profile.py
+++ b/synapse/handlers/profile.py
@@ -194,7 +194,7 @@ class ProfileHandler(BaseHandler):
         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
+                target_user.to_string(), profile
             )
 
         yield self._update_join_states(requester, target_user)