revised item new notification
This commit is contained in:
parent
92dfed500d
commit
92bb73c8f9
|
@ -209,7 +209,7 @@ public class Notifications {
|
||||||
case ITEM_NEW: {
|
case ITEM_NEW: {
|
||||||
WorkspaceNotificationAddedItem itemBean = (WorkspaceNotificationAddedItem) message;
|
WorkspaceNotificationAddedItem itemBean = (WorkspaceNotificationAddedItem) message;
|
||||||
String userIdToNotify = itemBean.getUserIdToNotify();
|
String userIdToNotify = itemBean.getUserIdToNotify();
|
||||||
nm.notifyAddedItem(userIdToNotify, WorkspaceItemMapper.getFileItem(itemBean.getItem()), WorkspaceItemMapper.getSharedFolder(itemBean.getFolder()));
|
nm.notifyAddedItem(userIdToNotify, WorkspaceItemMapper.getFileItem(itemBean.getItem()), WorkspaceItemMapper.getSharedFolder(itemBean.getItem().getParent()));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case FOLDER_SHARE: {
|
case FOLDER_SHARE: {
|
||||||
|
|
Loading…
Reference in New Issue