diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-09-29 11:40:40 +0200 |
---|---|---|
committer | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-09-29 18:40:40 +0900 |
commit | ac07bfb018b61dd1d9e6c47d4ebafe822d606e59 (patch) | |
tree | 817adbf9add0f4714f5c79b14f2e550e87cf01c1 /lib | |
parent | df2f4052b84e68d36341df5fb58755276e9bf3ce (diff) |
Fix tootctl accounts reattaching not unsuspending deleted account (#8812)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mastodon/accounts_cli.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mastodon/accounts_cli.rb b/lib/mastodon/accounts_cli.rb index b743c5ea1..704cf474b 100644 --- a/lib/mastodon/accounts_cli.rb +++ b/lib/mastodon/accounts_cli.rb @@ -83,7 +83,8 @@ module Mastodon end end - user.account = account + account.suspended = false + user.account = account if user.save if options[:confirmed] |