This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Hide disabled custom emojis from emoji picker and emoji auto suggestions. (
#5613
)
Make the same behavior as /api/v1/custom_emojis.
master
kedama
7 years ago
committed by
Eugen Rochko
parent
d307ee79e9
commit
d8cd9000d9
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/serializers/initial_state_serializer.rb
+ 1
- 1
app/serializers/initial_state_serializer.rb
View File
@ -7,7 +7,7 @@ class InitialStateSerializer < ActiveModel::Serializer
has_many
:custom_emojis
,
serializer
:
REST
::
CustomEmojiSerializer
def
custom_emojis
CustomEmoji
.
local
CustomEmoji
.
local
.
where
(
disabled
:
false
)
end
def
meta
Write
Preview
Loading…
Cancel
Save