From c8c8c873f48d15b4481b9020d3f7eedec6d6ad9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KMY=EF=BC=88=E9=9B=AA=E3=81=82=E3=81=99=E3=81=8B=EF=BC=89?= Date: Sun, 18 Feb 2024 14:32:35 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#596=20=E3=83=AA=E3=83=A2=E3=83=BC?= =?UTF-8?q?=E3=83=88=E4=BF=9D=E7=95=99=E4=B8=AD=E3=81=AE=E3=82=A2=E3=82=AB?= =?UTF-8?q?=E3=82=A6=E3=83=B3=E3=83=88=E3=81=AB=E3=81=8A=E3=81=84=E3=81=A6?= =?UTF-8?q?=E3=80=8C=E6=B4=BB=E5=8B=95=E3=82=92=E5=AE=8C=E5=85=A8=E3=81=AB?= =?UTF-8?q?=E5=81=9C=E6=AD=A2=E3=81=99=E3=82=8B=E3=80=8D=E3=82=92=E8=A1=8C?= =?UTF-8?q?=E3=81=A3=E3=81=9F=E3=81=A8=E3=81=8D=E3=82=82=E3=80=8C=E5=8D=B4?= =?UTF-8?q?=E4=B8=8B=E3=80=8D=E3=81=A8=E5=90=8C=E6=A7=98=E3=81=AE=E5=8B=95?= =?UTF-8?q?=E3=81=8D=E3=82=92=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= =?UTF-8?q?=20(#598)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/form/account_batch.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/models/form/account_batch.rb b/app/models/form/account_batch.rb index aec6192628..6f5af9d1f0 100644 --- a/app/models/form/account_batch.rb +++ b/app/models/form/account_batch.rb @@ -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