From: Eugen Rochko Date: Sat, 29 Sep 2018 09:40:40 +0000 (+0200) Subject: Fix tootctl accounts reattaching not unsuspending deleted account (#8812) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=ac07bfb018b61dd1d9e6c47d4ebafe822d606e59;p=mastodon.git Fix tootctl accounts reattaching not unsuspending deleted account (#8812) --- diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb index b743c5ea1..704cf474b 100644 --- a/lib/mastodon/accounts_cli.rb +++ b/lib/mastodon/accounts_cli.rb @@ -83,7 +83,8 @@ module Mastodon end end - user.account = account + account.suspended = false + user.account = account if user.save if options[:confirmed]