From 1d9969fadfd465c97d0e6e62c9b97b1b53eac54c Mon Sep 17 00:00:00 2001 From: Daniel M Brasil Date: Thu, 27 Apr 2023 05:15:45 -0300 Subject: [PATCH] Fix `tootctl accounts create --reattach --force` not working with confirmed accounts (#24680) --- 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 1ffcb76c3d5..ebfb6097911 100644 --- a/lib/mastodon/accounts_cli.rb +++ b/lib/mastodon/accounts_cli.rb @@ -102,7 +102,7 @@ module Mastodon say('Use --force to reattach it anyway and delete the other user') return elsif account.user.present? - DeleteAccountService.new.call(account, reserve_email: false) + DeleteAccountService.new.call(account, reserve_email: false, reserve_username: false) account = Account.new(username: username) end end