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:
parent
47441e51f3
commit
f45b5f5006
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user