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:
parent
d4d46d6c7f
commit
50b59d03ad
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue