From e9cd3636c67ec033aa3dc23f46793d79e9dd03d5 Mon Sep 17 00:00:00 2001
From: Eugen Rochko <eugen@zeonfederated.com>
Date: Sun, 20 Jan 2019 12:30:25 +0100
Subject: [PATCH] Fix `tootctl accounts delete` not deleting user record as
well (#9874)
---
lib/mastodon/accounts_cli.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb
index 24fb67991a..dca31cdca3 100644
--- a/lib/mastodon/accounts_cli.rb
+++ b/lib/mastodon/accounts_cli.rb
@@ -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
--
GitLab