diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-03 01:32:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 01:32:08 +0100 |
commit | 6ddf0432e71aea7c62f1ee7946da5538d2526a13 (patch) | |
tree | fa8057bdaee7c582d5aa3cb82071a9805412b082 /app/workers/admin | |
parent | 2df5ef18ae3449825fdef6c83d5b3a7b19fd7ebb (diff) |
Improve account suspension speed and completeness (#9290)
- Some associations were missing from the clean-up - Some attributes were not reset on suspension - Skip federation and streaming deletes when purging a dead domain - Move account association definitions to concern
Diffstat (limited to 'app/workers/admin')
-rw-r--r-- | app/workers/admin/suspension_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/admin/suspension_worker.rb b/app/workers/admin/suspension_worker.rb index e41465ccc..ae8b24d8c 100644 --- a/app/workers/admin/suspension_worker.rb +++ b/app/workers/admin/suspension_worker.rb @@ -6,6 +6,6 @@ class Admin::SuspensionWorker sidekiq_options queue: 'pull' def perform(account_id, remove_user = false) - SuspendAccountService.new.call(Account.find(account_id), remove_user: remove_user) + SuspendAccountService.new.call(Account.find(account_id), including_user: remove_user) end end |