Skip to content

Commit

Permalink
Don't send comment reply notifications to all subscribers (#1911)
Browse files Browse the repository at this point in the history
* Change the role for the comment notification to project_crew

* removed NewCommentNotification dispatch
  • Loading branch information
djamg authored Oct 26, 2023
1 parent ef69814 commit a35355c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions funnel/views/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit a35355c

Please sign in to comment.