Skip to content

Commit

Permalink
Fix image type not being set after conversion for convertible image t…
Browse files Browse the repository at this point in the history
…ypes (mastodon#20624)
  • Loading branch information
Gargron authored and kadoshita committed Nov 19, 2022
1 parent 8b46e59 commit 3169b5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/media_attachment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class MediaAttachment < ApplicationRecord
IMAGE_CONVERTED_STYLES = {
original: {
format: 'jpeg',
content_type: 'image/jpeg',
}.merge(IMAGE_STYLES[:original]).freeze,

small: {
Expand Down

0 comments on commit 3169b5b

Please sign in to comment.