diff --git a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java index 5817891..f9dc1c1 100644 --- a/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java +++ b/src/main/java/org/gcube/applicationsupportlayer/social/ApplicationNotificationsManager.java @@ -263,8 +263,19 @@ public class ApplicationNotificationsManager extends SocialPortalBridge implemen */ @Override public boolean notifyCommentReply(String userIdToNotify, String feedid, String feedText) { - //TODO: missing implementation - return false; + Notification not = new Notification( + UUID.randomUUID().toString(), + NotificationType.COMMENT, + userIdToNotify, //user no notify + feedid, //the post + new Date(), + "/group/data-e-infrastructure-gateway?oid="+feedid, + "commented on one of your favorite posts: " + escapeHtml(feedText), + false, + aslSession.getUsername(), + aslSession.getUserFullName(), + aslSession.getUserAvatarId()); + return saveNotification(not); } /** * {@inheritDoc}