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

This commit is contained in:
Eugen Rochko 2018-09-29 11:40:40 +02:00 committed by Yamagishi Kazutoshi
parent df2f4052b8
commit ac07bfb018

View file

@ -83,6 +83,7 @@ module Mastodon
end
end
account.suspended = false
user.account = account
if user.save