diff options
author | Matthew Hodgson <matthew@matrix.org> | 2017-12-04 15:11:38 +0000 |
---|---|---|
committer | Matthew Hodgson <matthew@matrix.org> | 2017-12-04 15:11:38 +0000 |
commit | 74e0cc74ceb48a8c55615180f67406b339c88a18 (patch) | |
tree | 302c02463b0c8be4d75f7230e35c08cc799c5b66 /synapse/handlers/profile.py | |
parent | switch to a simpler 'search_all_users' button as per review feedback (diff) | |
download | synapse-74e0cc74ceb48a8c55615180f67406b339c88a18.tar.xz |
fix pep8 and tests
Diffstat (limited to 'synapse/handlers/profile.py')
-rw-r--r-- | synapse/handlers/profile.py | 2 |
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) |