mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-11 10:12:56 -05:00
Fix image type not being set after conversion for convertible image types (#20624)
This commit is contained in:
parent
167d86d21d
commit
5c826c408d
@ -82,6 +82,7 @@ class MediaAttachment < ApplicationRecord
|
||||
IMAGE_CONVERTED_STYLES = {
|
||||
original: {
|
||||
format: 'jpeg',
|
||||
content_type: 'image/jpeg',
|
||||
}.merge(IMAGE_STYLES[:original]).freeze,
|
||||
|
||||
small: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user