Files: fix

This commit is contained in:
Maksim Chegulov 2022-06-30 12:43:38 +03:00
parent 630250b439
commit 0f3da31811

View File

@ -767,7 +767,8 @@ public class FileSecurity : IFileSecurity
{
result.Add(e);
}
else if (folder != null && folder.FolderType == FolderType.DEFAULT)
else if (folder != null && (folder.RootFolderType == FolderType.VirtualRooms || folder.RootFolderType == FolderType.Archive) &&
folder.FolderType == FolderType.DEFAULT)
{
result.Add(e);
}