mirror of
https://github.com/wekan/wekan.git
synced 2026-01-29 20:56:09 +01:00
update broke ability to mute notifications
This commit is contained in:
parent
5c588b2424
commit
41330b15dc
4 changed files with 15 additions and 15 deletions
|
|
@ -152,10 +152,10 @@ if (Meteor.isServer) {
|
|||
if (board) {
|
||||
const watchingUsers = _.pluck(_.where(board.watchers, {level: 'watching'}), 'userId');
|
||||
const trackingUsers = _.pluck(_.where(board.watchers, {level: 'tracking'}), 'userId');
|
||||
watchers = _.union(watchers, watchingUsers || []);
|
||||
watchers = _.union(watchers, watchingUsers, _.intersection(participants, trackingUsers));
|
||||
}
|
||||
|
||||
Notifications.getUsers(participants, watchers).forEach((user) => {
|
||||
Notifications.getUsers(watchers).forEach((user) => {
|
||||
Notifications.notify(user, title, description, params);
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue