From 3e55dcf94418a7f157e87e806b0ba3e019262662 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sun, 10 Mar 2019 02:42:15 +0000 Subject: don't strip emoji metadata --- app/models/custom_emoji.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/models') diff --git a/app/models/custom_emoji.rb b/app/models/custom_emoji.rb index d3cc70504..1aa1b5e34 100644 --- a/app/models/custom_emoji.rb +++ b/app/models/custom_emoji.rb @@ -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 -- cgit