1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-23 22:56:20 +09:00

Properly remove tIME chunk from PNG uploads (#27111)

This commit is contained in:
Essem 2023-09-25 12:21:07 -05:00 committed by Claire
parent 47441e51f3
commit f45b5f5006

View File

@ -156,7 +156,7 @@ class MediaAttachment < ApplicationRecord
}.freeze
GLOBAL_CONVERT_OPTIONS = {
all: '-quality 90 -strip +set modify-date +set create-date',
all: '-quality 90 -strip +set date:modify +set date:create +set date:timestamp',
}.freeze
belongs_to :account, inverse_of: :media_attachments, optional: true