From 53ea4a30ac07dc08fc2039ab26226d28079578f4 Mon Sep 17 00:00:00 2001 From: Maksim Chegulov Date: Mon, 11 Mar 2024 23:52:17 +0300 Subject: [PATCH] fixed room deletion --- .../Services/WCFService/FileOperations/FileDeleteOperation.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs b/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs index 990ea0feb49..874d948cbb7 100644 --- a/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs +++ b/products/ASC.Files/Core/Services/WCFService/FileOperations/FileDeleteOperation.cs @@ -154,7 +154,7 @@ private async Task DeleteFoldersAsync(IEnumerable folderIds, IServiceScope sc canCalculate = FolderDao.CanCalculateSubitems(folderId) ? default : folderId; await fileMarker.RemoveMarkAsNewForAllAsync(folder); - if (folder.ProviderEntry && (folder.Id.Equals(folder.RootId)) || isRoom) + if (folder.ProviderEntry && ((folder.Id.Equals(folder.RootId) || isRoom))) { if (ProviderDao != null) {