mirror of
https://github.com/mastodon/mastodon.git
synced 2026-10-01 09:28:25 -05:00
Improve emoji search (#39815)
This commit is contained in:
@@ -397,11 +397,12 @@ export function unicodeEmojiFactory(
|
||||
data: Partial<UnicodeEmojiData> = {},
|
||||
): UnicodeEmojiData {
|
||||
return {
|
||||
emoticons: undefined,
|
||||
hexcode: 'test',
|
||||
label: 'Test',
|
||||
unicode: '🧪',
|
||||
shortcodes: ['test_emoji'],
|
||||
tokens: ['emoji', 'test'],
|
||||
tokens: ['test', 'emoji'],
|
||||
group: 1,
|
||||
order: 1,
|
||||
...data,
|
||||
|
||||
Reference in New Issue
Block a user