fixed bug on notification check owner when user changed his name

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/news-feed@94299 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2014-04-04 09:47:10 +00:00
parent d4d46d6c7f
commit 50b59d03ad
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public class CommentNotificationsThread implements Runnable {
if (userIdsToNotify != null) {
for (String userId : userIdsToNotify) {
if (userId.compareTo(feedOwnerId) != 0 && !(favoriteUserIds.contains(userId)) ) { //avoid notifying the owner and the user who liked twice
boolean result = nm.notifyCommentReply(userId, commentedFeedId, commentText, feedOwnerFullName);
boolean result = nm.notifyCommentReply(userId, commentedFeedId, commentText, feedOwnerFullName, feedOwnerId);
_log.trace("Sending Notification for also commented to: " + feedOwnerFullName + " result?"+ result);
}
}