summaryrefslogtreecommitdiffstats
path: root/server/notifications/profile.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/notifications/profile.js')
-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);
+ });
});