summaryrefslogtreecommitdiffstats
path: root/models/attachments.js
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2019-04-06 14:04:09 +0300
committerGitHub <noreply@github.com>2019-04-06 14:04:09 +0300
commita6e1dc4269eae8e81a4584a167c44089f393925c (patch)
tree72d08bb712fe734a8dd5dab527b195e154a67f05 /models/attachments.js
parentad241b9f846cefa14dec6fd979870a715d774705 (diff)
parent143e93f483c947185d7db1380bad23005e3d946c (diff)
downloadwekan-a6e1dc4269eae8e81a4584a167c44089f393925c.tar.gz
wekan-a6e1dc4269eae8e81a4584a167c44089f393925c.tar.bz2
wekan-a6e1dc4269eae8e81a4584a167c44089f393925c.zip
Merge pull request #2320 from rinnaz/fix/issue-2285
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,
});
});
}