Add custom_emoji isSensitive support
This commit is contained in:
parent
156f3a7c99
commit
ff2bcf7595
8 changed files with 23 additions and 4 deletions
|
@ -3,7 +3,7 @@
|
|||
class REST::CustomEmojiSerializer < ActiveModel::Serializer
|
||||
include RoutingHelper
|
||||
|
||||
attributes :shortcode, :url, :static_url, :visible_in_picker
|
||||
attributes :shortcode, :url, :static_url, :visible_in_picker, :is_sensitive
|
||||
|
||||
attribute :category, if: :category_loaded?
|
||||
attribute :width, if: :width?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue