Skip to content
This repository was archived by the owner on Jun 27, 2019. It is now read-only.

Commit 8c7b0cc

Browse files
Fixed doubled notification issue
This commit fixed the issue where up-voting or editing an comment leads to sending the mention notification again. See #106
1 parent aca6e75 commit 8c7b0cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/services/comments/comments.hooks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ module.exports = {
120120
createNotifications()
121121
],
122122
update: [
123-
createMentionNotifications()
123+
// createMentionNotifications()
124124
],
125125
patch: [
126-
createMentionNotifications()
126+
// createMentionNotifications()
127127
],
128128
remove: []
129129
},

0 commit comments

Comments
 (0)