revised item new notification

This commit is contained in:
Massimiliano Assante 2022-05-04 10:37:52 +02:00
parent 92dfed500d
commit 92bb73c8f9
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ public class Notifications {
case ITEM_NEW: {
WorkspaceNotificationAddedItem itemBean = (WorkspaceNotificationAddedItem) message;
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;
}
case FOLDER_SHARE: {