diff options
author | ThibG <thib@sitedethib.com> | 2020-11-09 11:30:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-09 11:30:28 +0100 |
commit | 67125534bc0fd48a45d6cb17a5c78712d8e87150 (patch) | |
tree | b718c8b54a0bd63eab69abaef2267c8f0aa9a9b9 /lib/mastodon/accounts_cli.rb | |
parent | cfb16b9b70a50ec5451c9aebb2c35d3a44701311 (diff) | |
parent | ecd83f495c18486bc7ea901423f6fccfd910b277 (diff) |
Merge pull request #1454 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'lib/mastodon/accounts_cli.rb')
-rw-r--r-- | lib/mastodon/accounts_cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb index 8f9279a3c..7565620cf 100644 --- a/lib/mastodon/accounts_cli.rb +++ b/lib/mastodon/accounts_cli.rb @@ -245,7 +245,7 @@ module Mastodon end if [404, 410].include?(code) - SuspendAccountService.new.call(account, reserve_username: false) unless options[:dry_run] + DeleteAccountService.new.call(account, reserve_username: false) unless options[:dry_run] 1 else # Touch account even during dry run to avoid getting the account into the window again |