diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-11 16:32:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-11 16:32:44 +0200 |
commit | c5d37f18cb3f4d6212fb8f3e1c4e1e027f677ec5 (patch) | |
tree | 190b0c85e6e8f3880d9d291781d9a73185e0252c /lib/mastodon/domains_cli.rb | |
parent | 4fe127664b0ae22a528b4a4467ab2de92e3da3ef (diff) |
Change deletes to preserve soft-deleted statuses in unresolved reports (#11805)
Change all account actions except "none" to resolve all unresolved reports Refactor `SuspendAccountService` to be more readable
Diffstat (limited to 'lib/mastodon/domains_cli.rb')
-rw-r--r-- | lib/mastodon/domains_cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/domains_cli.rb b/lib/mastodon/domains_cli.rb index c612c2d72..8e52de1c3 100644 --- a/lib/mastodon/domains_cli.rb +++ b/lib/mastodon/domains_cli.rb @@ -42,7 +42,7 @@ module Mastodon end processed, = parallelize_with_progress(scope) do |account| - SuspendAccountService.new.call(account, destroy: true) unless options[:dry_run] + SuspendAccountService.new.call(account, reserve_username: false, skip_side_effects: true) unless options[:dry_run] end DomainBlock.where(domain: domain).destroy_all unless options[:dry_run] |