|
|
|
@ -496,8 +496,9 @@ public class PeriodicTask implements Runnable {
|
|
|
|
|
Thread likesThread = new Thread(new LikeNotificationsThread(commentText, nm, favorites, feedOwnerId, comment.getKey()));
|
|
|
|
|
likesThread.start();
|
|
|
|
|
|
|
|
|
|
UserManager userManager = new LiferayUserManager();
|
|
|
|
|
//notify the other users who commented this post (excluding the ones above)
|
|
|
|
|
Thread commentsNotificationthread = new Thread(new CommentNotificationsThread(socialStore, fakeSession.getUsername(), comment.getFeedid(), commentText, nm, feedOwnerId, comment.getKey(), favorites));
|
|
|
|
|
Thread commentsNotificationthread = new Thread(new CommentNotificationsThread(socialStore, userManager, fakeSession.getUsername(), comment.getFeedid(), commentText, nm, feedOwnerId, comment.getKey(), favorites));
|
|
|
|
|
commentsNotificationthread.start();
|
|
|
|
|
}
|
|
|
|
|
/**
|
|
|
|
|