fixed bug

This commit is contained in:
Massimiliano Assante 2022-05-03 15:55:56 +02:00
parent c84bacb59c
commit e4f320f39c
3 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,7 @@ public class WorkspaceNotificationAddedItem extends WorkspaceNotification {
this.userIdToNotify = userIdToNotify; this.userIdToNotify = userIdToNotify;
this.item = item; this.item = item;
this.folder = folder; this.folder = folder;
this.type = WorkspaceNotificationType.ITEM_NEW;
} }
public String getUserIdToNotify() { public String getUserIdToNotify() {

View File

@ -26,6 +26,7 @@ public class WorkspaceNotificationSharedFolder extends WorkspaceNotification {
super(); super();
this.userIdToNotify = userIdToNotify; this.userIdToNotify = userIdToNotify;
this.folder = folder; this.folder = folder;
this.type = WorkspaceNotificationType.FOLDER_SHARE;
} }
public String getUserIdToNotify() { public String getUserIdToNotify() {

View File

@ -36,6 +36,7 @@ public class WorkspaceNotificationUnsharedFolder extends WorkspaceNotification {
this.userIdToNotify = userIdToNotify; this.userIdToNotify = userIdToNotify;
this.unsharedFolderId = unsharedFolderId; this.unsharedFolderId = unsharedFolderId;
this.unsharedFolderName = unsharedFolderName; this.unsharedFolderName = unsharedFolderName;
this.type = WorkspaceNotificationType.FOLDER_UNSHARE;
} }
@Override @Override