Skip to content

Commit 29e3965

Browse files
committed
filter out notifications for actions that I do
1 parent 411255e commit 29e3965

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

connect/connectNotificationServer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ const handler = (topic, message, callback) => {
307307
project,
308308
})
309309
)).then((notifications) => {
310-
allNotifications = notifications;
310+
allNotifications = _.filter(notifications,notification=>notification.userId!=message.initiatorUserId);
311311

312312
// now let's retrieve some additional data
313313

0 commit comments

Comments
 (0)