From e9b8fd786b2899da166eb9ca720792e8dfb679ef Mon Sep 17 00:00:00 2001 From: Jason Robinson Date: Wed, 8 Jul 2026 11:51:00 +0300 Subject: [PATCH] Fix deactivation from a worker that is not profile writer MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks sytest 🤩 --- synapse/handlers/profile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py index e55ace6f1b..6c5ec57dfc 100644 --- a/synapse/handlers/profile.py +++ b/synapse/handlers/profile.py @@ -570,7 +570,7 @@ class ProfileHandler: # Offload to the right worker via http replication await self._delete_profile_upon_deactivation_client( instance_name=self._profile_updates_writer_instance, - user_id=target_user.to_string(), + user_id=target_user, requester=requester, by_admin=by_admin, )