profile.js 336 B

123456789
  1. Meteor.startup(() => {
  2. // XXX: add activity id to profile.notifications,
  3. // it can be displayed and rendered on web or mobile UI
  4. // will uncomment the following code once UI implemented
  5. //
  6. // Notifications.subscribe('profile', (user, title, description, params) => {
  7. // user.addNotification(params.activityId);
  8. // });
  9. });