Skip to content

Commit

Permalink
fixed room deletion
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimChegulov committed Mar 11, 2024
1 parent d76c67f commit 53ea4a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private async Task DeleteFoldersAsync(IEnumerable<T> 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)
{
Expand Down

0 comments on commit 53ea4a3

Please sign in to comment.