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

lolsob-rspec
Eugen Rochko 2018-09-29 11:40:40 +02:00 committed by Yamagishi Kazutoshi
parent bf20094a3f
commit 20beab56e4
1 changed files with 2 additions and 1 deletions

View File

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