summaryrefslogtreecommitdiffstats
path: root/server/notifications
diff options
context:
space:
mode:
authorJonathan Baird <jonathan@smithbox.com>2020-03-27 11:35:03 -0600
committerJonathan Baird <jonathan@smithbox.com>2020-03-27 11:35:03 -0600
commit9819c9f801128d07374b0703b482bdb83a672297 (patch)
treea132421f72031a26b346a96fd9a4615b2bca70c9 /server/notifications
parent29d62440a5cf82b01de8183a384c6d7811abad81 (diff)
downloadwekan-9819c9f801128d07374b0703b482bdb83a672297.tar.gz
wekan-9819c9f801128d07374b0703b482bdb83a672297.tar.bz2
wekan-9819c9f801128d07374b0703b482bdb83a672297.zip
add a notification drawer like trello
Diffstat (limited to 'server/notifications')
-rw-r--r--server/notifications/profile.js10
1 files changed, 3 insertions, 7 deletions
diff --git a/server/notifications/profile.js b/server/notifications/profile.js
index 6d9c7018..608931cf 100644
--- a/server/notifications/profile.js
+++ b/server/notifications/profile.js
@@ -1,9 +1,5 @@
Meteor.startup(() => {
- // XXX: add activity id to profile.notifications,
- // it can be displayed and rendered on web or mobile UI
- // will uncomment the following code once UI implemented
- //
- // Notifications.subscribe('profile', (user, title, description, params) => {
- // user.addNotification(params.activityId);
- // });
+ Notifications.subscribe('profile', (user, title, description, params) => {
+ user.addNotification(params.activityId);
+ });
});