Merge remote-tracking branch 'parent/releases/v4.2.1' into kb_lts
This commit is contained in:
commit
846b8c5e06
114 changed files with 1458 additions and 991 deletions
|
@ -42,7 +42,7 @@ class CustomEmoji < ApplicationRecord
|
|||
has_one :local_counterpart, -> { where(domain: nil) }, class_name: 'CustomEmoji', primary_key: :shortcode, foreign_key: :shortcode, inverse_of: false
|
||||
has_many :emoji_reactions, inverse_of: :custom_emoji, dependent: :destroy
|
||||
|
||||
has_attached_file :image, styles: { static: { format: 'png', convert_options: '-coalesce +profile "!icc,*" +set modify-date +set create-date' } }, validate_media_type: false
|
||||
has_attached_file :image, styles: { static: { format: 'png', convert_options: '-coalesce +profile "!icc,*" +set date:modify +set date:create +set date:timestamp' } }, validate_media_type: false
|
||||
|
||||
before_validation :downcase_domain
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue