Fix: #596 リモート保留中のアカウントにおいて「活動を完全に停止する」を行ったときも「却下」と同様の動きをするように (#598)

This commit is contained in:
KMY(雪あすか) 2024-02-18 14:32:35 +09:00 committed by GitHub
parent c35c13ffba
commit c8c8c873f4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -117,6 +117,8 @@ class Form::AccountBatch
accounts.find_each do |account|
if account.user_pending?
reject_account(account)
elsif account.suspended? && account.remote_pending
reject_remote_account(account)
else
suspend_account(account)
end