From a95c167dd4614396c5d83525d527a3ac9edc67a8 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: Fri, 5 Jan 2024 09:07:56 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20#421=20=E3=83=AA=E3=82=B9=E3=83=88?= =?UTF-8?q?=E6=96=B0=E7=9D=80=E6=8A=95=E7=A8=BF=E9=80=9A=E7=9F=A5=E5=87=A6?= =?UTF-8?q?=E7=90=86=E3=82=92=E3=80=81=E3=83=AA=E3=83=BC=E3=83=89=E3=83=AC?= =?UTF-8?q?=E3=83=97=E3=83=AA=E3=82=AB=E3=81=AE=E4=B8=AD=E3=81=8B=E3=82=89?= =?UTF-8?q?=E5=A4=96=E3=81=99=20(#424)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/workers/feed_insert_worker.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/workers/feed_insert_worker.rb b/app/workers/feed_insert_worker.rb index 6126b70523..e6daee1617 100644 --- a/app/workers/feed_insert_worker.rb +++ b/app/workers/feed_insert_worker.rb @@ -27,6 +27,8 @@ class FeedInsertWorker with_read_replica do check_and_insert end + + perform_notify_for_list if !feed_filtered? && notify_for_list? rescue ActiveRecord::RecordNotFound true end @@ -39,7 +41,6 @@ class FeedInsertWorker else perform_push perform_notify if notify? - perform_notify_for_list if notify_for_list? end end