mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-22 17:17:32 +00:00
Fix tootctl accounts reattaching not unsuspending deleted account (#8812)
This commit is contained in:
parent
df2f4052b8
commit
ac07bfb018
|
@ -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 a new issue