Fix tootctl accounts reattaching not unsuspending deleted account (#8812)

master
Eugen Rochko 6 years ago committed by Yamagishi Kazutoshi
parent df2f4052b8
commit ac07bfb018
  1. 3
      lib/mastodon/accounts_cli.rb

@ -83,7 +83,8 @@ module Mastodon
end end
end end
user.account = account account.suspended = false
user.account = account
if user.save if user.save
if options[:confirmed] if options[:confirmed]

Loading…
Cancel
Save