Feature: Unlisted custom emojis (#5485)
This commit is contained in:
parent
0cb329f63a
commit
781105293c
9 changed files with 32 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
class REST::CustomEmojiSerializer < ActiveModel::Serializer
|
||||
include RoutingHelper
|
||||
|
||||
attributes :shortcode, :url, :static_url
|
||||
attributes :shortcode, :url, :static_url, :visible_in_picker
|
||||
|
||||
def url
|
||||
full_asset_url(object.image.url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue