Fix tootctl accounts reattaching not unsuspending deleted account (#8812)
This commit is contained in:
committed by
Yamagishi Kazutoshi
parent
df2f4052b8
commit
ac07bfb018
@@ -83,6 +83,7 @@ module Mastodon
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
account.suspended = false
|
||||||
user.account = account
|
user.account = account
|
||||||
|
|
||||||
if user.save
|
if user.save
|
||||||
|
Reference in New Issue
Block a user