From a35355c9a4bac1ea91f2736488518cfa3bbca37b Mon Sep 17 00:00:00 2001 From: Amogh M Aradhya Date: Thu, 26 Oct 2023 14:01:37 +0530 Subject: [PATCH] Don't send comment reply notifications to all subscribers (#1911) * Change the role for the comment notification to project_crew * removed NewCommentNotification dispatch --- funnel/views/comment.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/funnel/views/comment.py b/funnel/views/comment.py index 0d0d82a4b..ccbebf2cc 100644 --- a/funnel/views/comment.py +++ b/funnel/views/comment.py @@ -334,10 +334,7 @@ def reply(self) -> ReturnView: self.obj, ) dispatch_notification( - CommentReplyNotification( - document=comment.in_reply_to, fragment=comment - ), - NewCommentNotification(document=comment.commentset, fragment=comment), + CommentReplyNotification(document=comment.in_reply_to, fragment=comment) ) return { 'status': 'ok',