diff options
Diffstat (limited to 'server/notifications/profile.js')
-rw-r--r-- | server/notifications/profile.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/notifications/profile.js b/server/notifications/profile.js new file mode 100644 index 00000000..6d9c7018 --- /dev/null +++ b/server/notifications/profile.js @@ -0,0 +1,9 @@ +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); + // }); +}); |