Update to support commentKey field when using notifications
git-svn-id: https://svn.research-infrastructures.eu/d4science/gcube/trunk/portlets/user/share-updates@124274 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
529f149226
commit
fe2150c2f4
|
@ -260,7 +260,7 @@ public class ShareUpdateServiceImpl extends RemoteServiceServlet implements Shar
|
|||
for (ItemBean u : mentionedUsers) {
|
||||
toPass.add(new GenericItemBean(u.getId(), u.getName(), u.getAlternativeName(), u.getThumbnailURL()));
|
||||
}
|
||||
Thread thread = new Thread(new MentionNotificationsThread(toShare.getKey(), escapedFeedText, nm, toPass));
|
||||
Thread thread = new Thread(new MentionNotificationsThread(toShare.getKey(), escapedFeedText, nm, null, toPass));
|
||||
thread.start();
|
||||
}
|
||||
|
||||
|
@ -463,7 +463,7 @@ public class ShareUpdateServiceImpl extends RemoteServiceServlet implements Shar
|
|||
for (ItemBean u : mentionedUsers) {
|
||||
toPass.add(new GenericItemBean(u.getId(), u.getName(), u.getAlternativeName(), u.getThumbnailURL()));
|
||||
}
|
||||
Thread thread = new Thread(new MentionNotificationsThread(toShare.getKey(), textToPost, nm, toPass));
|
||||
Thread thread = new Thread(new MentionNotificationsThread(toShare.getKey(), textToPost, nm, null, toPass));
|
||||
thread.start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue