diff --git a/pom.xml b/pom.xml
index 5a1424a..68947d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
org.gcube.portal
social-mail-servlet
war
- 1.3.0-SNAPSHOT
+ 1.3.1-SNAPSHOT
social-mail-servlet Webapp
This component read periodically email replies from user wanting to reply to a post via email
diff --git a/src/main/java/org/gcube/portal/socialmail/PeriodicTask.java b/src/main/java/org/gcube/portal/socialmail/PeriodicTask.java
index 869b0d9..ba3f558 100644
--- a/src/main/java/org/gcube/portal/socialmail/PeriodicTask.java
+++ b/src/main/java/org/gcube/portal/socialmail/PeriodicTask.java
@@ -400,17 +400,17 @@ public class PeriodicTask implements Runnable {
//if the user who commented this post is not the user who posted it notifies the poster user (Feed owner)
NotificationsManager nm = new ApplicationNotificationsManager(fakeSession);
if (! fakeSession.getUsername().equals(feedOwnerId) && (!isAppFeed)) {
- boolean result = nm.notifyOwnCommentReply(feedOwnerId, feedId, commentText);
+ boolean result = nm.notifyOwnCommentReply(feedOwnerId, feedId, commentText, comment.getKey());
_log.trace("Comment Notification to post owner added? " + result);
}
//if there are users who liked this post they get notified, asynchronously with this thread
ArrayList favorites = getAllLikesByFeed(feedId);
- Thread likesThread = new Thread(new LikeNotificationsThread(commentText, nm, favorites, feedOwnerId));
+ Thread likesThread = new Thread(new LikeNotificationsThread(commentText, nm, favorites, feedOwnerId, comment.getKey()));
likesThread.start();
//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, favorites));
+ Thread commentsNotificationthread = new Thread(new CommentNotificationsThread(socialStore, fakeSession.getUsername(), comment.getFeedid(), commentText, nm, feedOwnerId, comment.getKey(), favorites));
commentsNotificationthread.start();
}
/**