Feature: Unlisted custom emojis (#5485)

This commit is contained in:
nullkal authored and Eugen Rochko committed 2017-10-27 16:11:30 +02:00
1 parent 0cb329f63a
commit 781105293c
9 files changed
+32 -6

No files matched your search

@@ -46,7 +46,7 @@ const getFrequentlyUsedEmojis = createSelector([
const getCustomEmojis = createSelector([
state => state.get('custom_emojis'),
], emojis => emojis.sort((a, b) => {
], emojis => emojis.filter(e => e.get('visible_in_picker')).sort((a, b) => {
const aShort = a.get('shortcode').toLowerCase();
const bShort = b.get('shortcode').toLowerCase();