don't strip emoji metadata

staging
multiple creatures 2019-03-10 02:42:15 +00:00
parent ff02142601
commit 3e55dcf944
1 changed files with 1 additions and 1 deletions

View File

@ -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