changed styling issues

This commit is contained in:
Paul Koudelka 2026-04-01 16:14:50 +02:00
parent 1496b5e591
commit dd70202ff3
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ public record FileAttachment(FileAttachmentType Type, string FileName, string Fi
if (FileTypes.IsAllowedPath(filePath, FileTypes.IMAGE))
return FileAttachmentType.IMAGE;
// Check if it's an audio file
// Check if it's an audio file:
if (FileTypes.IsAllowedPath(filePath, FileTypes.AUDIO))
return FileAttachmentType.AUDIO;

View File

@ -181,7 +181,7 @@ public partial class AttachDocuments : MSGComponentBase
{
if(!await FileExtensionValidation.IsExtensionValidWithNotifyAsync(FileExtensionValidation.UseCase.ATTACHING_CONTENT, path, this.ValidateMediaFileTypes, this.Provider))
continue;
this.DocumentPaths.Add(FileAttachment.FromPath(path));
}