diff options
author | Lauri Ojansivu <x@xet7.org> | 2019-04-06 14:04:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-06 14:04:09 +0300 |
commit | a6e1dc4269eae8e81a4584a167c44089f393925c (patch) | |
tree | 72d08bb712fe734a8dd5dab527b195e154a67f05 /models/attachments.js | |
parent | ad241b9f846cefa14dec6fd979870a715d774705 (diff) | |
parent | 143e93f483c947185d7db1380bad23005e3d946c (diff) | |
download | wekan-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.js | 4 |
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, }); }); } |