Skip to content

Commit

Permalink
fixed duplication icon change records in history
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimChegulov committed Nov 29, 2024
1 parent 50ece62 commit 42774c2
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions products/ASC.Files/Core/Core/FileStorageService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -920,12 +920,7 @@ await filesMessageService.SendAsync(updateData.DenyDownload.Value
folder, folder.Title);
}

if (colorChanged)
{
await filesMessageService.SendAsync(MessageAction.RoomColorChanged, folder, folder.Title);
}

if (coverChanged)
if ((colorChanged || coverChanged) && !folder.SettingsHasLogo)
{
await filesMessageService.SendAsync(MessageAction.RoomCoverChanged, folder, folder.Title);
}
Expand Down

0 comments on commit 42774c2

Please sign in to comment.