diff --git a/pkg/msgconv/blocks.go b/pkg/msgconv/blocks.go index 7921997..d048695 100644 --- a/pkg/msgconv/blocks.go +++ b/pkg/msgconv/blocks.go @@ -126,6 +126,7 @@ func (mc *MessageConverter) attachmentToURLPreview(ctx context.Context, portal * ImageSize: imageSize, ImageWidth: imageWidth, ImageHeight: imageHeight, + ImageType: imageMime, }, MatchedURL: attachment.OriginalURL, ImageEncryption: file,