Fix tootctl accounts reattaching not unsuspending deleted account (#8812)
parent
bf20094a3f
commit
20beab56e4
|
@ -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…
Reference in New Issue