]> cat aescling's git repositories - mastodon.git/commitdiff
Fix `tootctl accounts delete` not deleting user record as well (#9874)
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 20 Jan 2019 11:30:25 +0000 (12:30 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Jan 2019 11:30:25 +0000 (12:30 +0100)
lib/mastodon/accounts_cli.rb

index 24fb67991a860afc0d498548e8e5354d27ce08b5..dca31cdca3e7bf4840ddb955662de4b0c578e8bd 100644 (file)
@@ -176,7 +176,7 @@ module Mastodon
       end
 
       say("Deleting user with #{account.statuses_count} statuses, this might take a while...")
-      SuspendAccountService.new.call(account, remove_user: true)
+      SuspendAccountService.new.call(account, including_user: true)
       say('OK', :green)
     end