1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

Fix image type not being set after conversion for convertible image types (#20624)

This commit is contained in:
Eugen Rochko 2022-11-14 07:13:14 +01:00 committed by GitHub
parent 167d86d21d
commit 5c826c408d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,7 @@ class MediaAttachment < ApplicationRecord
IMAGE_CONVERTED_STYLES = {
original: {
format: 'jpeg',
content_type: 'image/jpeg',
}.merge(IMAGE_STYLES[:original]).freeze,
small: {