diff options
Diffstat (limited to 'models/activities.js')
-rw-r--r-- | models/activities.js | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/models/activities.js b/models/activities.js index c3c8f173..aad5d412 100644 --- a/models/activities.js +++ b/models/activities.js @@ -152,17 +152,6 @@ if (Meteor.isServer) { if (board) { const watchingUsers = _.pluck(_.where(board.watchers, {level: 'watching'}), 'userId'); const trackingUsers = _.pluck(_.where(board.watchers, {level: 'tracking'}), 'userId'); - const mutedUsers = _.pluck(_.where(board.watchers, {level: 'muted'}), 'userId'); - switch(board.getWatchDefault()) { - case 'muted': - participants = _.intersection(participants, trackingUsers); - watchers = _.intersection(watchers, trackingUsers); - break; - case 'tracking': - participants = _.difference(participants, mutedUsers); - watchers = _.difference(watchers, mutedUsers); - break; - } watchers = _.union(watchers, watchingUsers || []); } |