don't strip emoji metadata
parent
ff02142601
commit
3e55dcf944
|
@ -29,7 +29,7 @@ class CustomEmoji < ApplicationRecord
|
|||
|
||||
has_one :local_counterpart, -> { where(domain: nil) }, class_name: 'CustomEmoji', primary_key: :shortcode, foreign_key: :shortcode
|
||||
|
||||
has_attached_file :image, styles: { static: { format: 'png', convert_options: '-coalesce -strip' } }
|
||||
has_attached_file :image, styles: { static: { format: 'png', convert_options: '-coalesce' } }
|
||||
|
||||
before_validation :downcase_domain
|
||||
|
||||
|
|
Loading…
Reference in New Issue