summaryrefslogtreecommitdiffstats
path: root/models/attachments.js
diff options
context:
space:
mode:
authorwindblow <cskim.ns@gmail.com>2019-04-06 12:45:31 +0300
committerwindblow <cskim.ns@gmail.com>2019-04-06 12:45:31 +0300
commit143e93f483c947185d7db1380bad23005e3d946c (patch)
treebb46902f7c92d81ae2753d4d5a013eca90a54a58 /models/attachments.js
parentb680bb53725103f186ac1c7cb604fbd4a5773051 (diff)
downloadwekan-143e93f483c947185d7db1380bad23005e3d946c.tar.gz
wekan-143e93f483c947185d7db1380bad23005e3d946c.tar.bz2
wekan-143e93f483c947185d7db1380bad23005e3d946c.zip
Add variables for activity notifications Fixes #2285
Diffstat (limited to 'models/attachments.js')
-rw-r--r--models/attachments.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/models/attachments.js b/models/attachments.js
index f870861b..fb32f497 100644
--- a/models/attachments.js
+++ b/models/attachments.js
@@ -72,6 +72,8 @@ if (Meteor.isServer) {
attachmentId: doc._id,
boardId: doc.boardId,
cardId: doc.cardId,
+ listId: doc.listId,
+ swimlaneId: doc.swimlaneId,
});
} else {
// Don't add activity about adding the attachment as the activity
@@ -96,6 +98,8 @@ if (Meteor.isServer) {
activityType: 'deleteAttachment',
boardId: doc.boardId,
cardId: doc.cardId,
+ listId: doc.listId,
+ swimlaneId: doc.swimlaneId,
});
});
}