fix for requirement Ticket #1419
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/application-support-layer/applicationSupportLayerSocial@71138 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3823e82699
commit
d1920fef76
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue