~cytrogen/masto-fe

1d9969fadfd465c97d0e6e62c9b97b1b53eac54c — Daniel M Brasil 2 years ago 49fad26
Fix `tootctl accounts create --reattach --force` not working with confirmed accounts (#24680)

1 files changed, 1 insertions(+), 1 deletions(-)

M lib/mastodon/accounts_cli.rb
M lib/mastodon/accounts_cli.rb => lib/mastodon/accounts_cli.rb +1 -1
@@ 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