function SubscribedPostNotifications (comment) {
    // note: dummy content has disableNotifications set to true
  if (Meteor.isServer && !comment.disableNotifications) {

    const post = Posts.findOne(comment.postId);

    let userIdsNotified = [];
    const notificationData = {
      comment: _.pick(comment, '_id', 'userId', 'author', 'htmlBody', 'postId'),
      post: _.pick(post, '_id', 'userId', 'title', 'url')
    };

    if (!!post.subscribers && !!post.subscribers.length) {
      // remove userIds of users that have already been notified
      // and of comment author (they could be replying in a thread they're subscribed to)
      let subscriberIdsToNotify = _.difference(post.subscribers, userIdsNotified, [comment.userId]);
      createNotification(subscriberIdsToNotify, 'newCommentSubscribed', notificationData);

      userIdsNotified = userIdsNotified.concat(subscriberIdsToNotify);
    }
  }
}
@summary Notify users subscribed to the comment's thread