diff options
author | Shay <hillerys@element.io> | 2023-04-26 16:03:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 16:03:26 -0700 |
commit | 301b4156d5574521e4fa3df8fed2f8a1c8617745 (patch) | |
tree | 2f9f837444c8802451f51b1a165f6bcdf181fcfd /synapse/handlers/profile.py | |
parent | Add a module API to send an HTTP push notification (#15387) (diff) | |
download | synapse-301b4156d5574521e4fa3df8fed2f8a1c8617745.tar.xz |
Add column `full_user_id` to tables `profiles` and `user_filters`. (#15458)
Diffstat (limited to 'synapse/handlers/profile.py')
-rw-r--r-- | synapse/handlers/profile.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index 9a81a77cbd..440d3f4acd 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -178,9 +178,7 @@ class ProfileHandler: authenticated_entity=requester.authenticated_entity, ) - await self.store.set_profile_displayname( - target_user.localpart, displayname_to_set - ) + await self.store.set_profile_displayname(target_user, displayname_to_set) profile = await self.store.get_profileinfo(target_user.localpart) await self.user_directory_handler.handle_local_profile_change( @@ -272,9 +270,7 @@ class ProfileHandler: target_user, authenticated_entity=requester.authenticated_entity ) - await self.store.set_profile_avatar_url( - target_user.localpart, avatar_url_to_set - ) + await self.store.set_profile_avatar_url(target_user, avatar_url_to_set) profile = await self.store.get_profileinfo(target_user.localpart) await self.user_directory_handler.handle_local_profile_change( |