Skip to content

Commit

Permalink
msgconv/from-slack: set url preview image mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Dec 23, 2024
1 parent 4687462 commit 523e0e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/msgconv/blocks.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 523e0e3

Please sign in to comment.