mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-24 15:01:31 +00:00
Fix deactivation from a worker that is not profile writer
Thanks sytest 🤩
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user