diff --git a/products/ASC.Files/Core/Utils/FileMarker.cs b/products/ASC.Files/Core/Utils/FileMarker.cs index 0d02dbf2ca..3cd25f77b5 100644 --- a/products/ASC.Files/Core/Utils/FileMarker.cs +++ b/products/ASC.Files/Core/Utils/FileMarker.cs @@ -259,7 +259,7 @@ public class FileMarker } else if (obj.FileEntry.RootFolderType == FolderType.VirtualRooms) { - var virtualRoomsFolderId = await _globalFolder.GetFolderVirtualRooms(_daoFactory); + var virtualRoomsFolderId = await _globalFolder.GetFolderVirtualRoomsAsync(_daoFactory); userIDs.ForEach(userID => RemoveFromCahce(virtualRoomsFolderId, userID)); } else if (obj.FileEntry.RootFolderType == FolderType.Privacy) @@ -473,6 +473,10 @@ public class FileMarker if (rootFolder == null) { } + else if (rootFolder.RootFolderType == FolderType.VirtualRooms) + { + cacheFolderId = rootFolderId = await _globalFolder.GetFolderVirtualRoomsAsync(_daoFactory); + } else if (rootFolder.RootFolderType == FolderType.BUNCH) { cacheFolderId = rootFolderId = await _globalFolder.GetFolderProjectsAsync(_daoFactory);