From 46d34263f074ac120078329f6759055d0f2256dd Mon Sep 17 00:00:00 2001 From: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com> Date: Tue, 17 Oct 2023 13:07:40 +0530 Subject: [PATCH] chore: removed notification for draft issues (#2426) --- apiserver/plane/bgtasks/issue_activites_task.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apiserver/plane/bgtasks/issue_activites_task.py b/apiserver/plane/bgtasks/issue_activites_task.py index 0fd8b0f92..1ad54e3a8 100644 --- a/apiserver/plane/bgtasks/issue_activites_task.py +++ b/apiserver/plane/bgtasks/issue_activites_task.py @@ -1248,6 +1248,9 @@ def issue_activity( "comment_reaction.activity.deleted", "issue_vote.activity.created", "issue_vote.activity.deleted", + "issue_draft.activity.created", + "issue_draft.activity.updated", + "issue_draft.activity.deleted", ]: issue = Issue.objects.filter(pk=issue_id).first() @@ -1340,6 +1343,9 @@ def issue_activity( "comment_reaction.activity.deleted", "issue_vote.activity.created", "issue_vote.activity.deleted", + "issue_draft.activity.created", + "issue_draft.activity.updated", + "issue_draft.activity.deleted", ]: # Create Notifications bulk_notifications = []