Files: added rooms folder cache clearing
This commit is contained in:
parent
5be6e7cbee
commit
3e2483a016
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user