Emoji substring search (#39353)

This commit is contained in:
Echo authored and GitHub committed 2026-06-10 10:40:48 +00:00
1 parent b2996dcbbc
commit 9f7e2d0002
14 files changed
+169 -54

No files matched your search

@@ -18,7 +18,7 @@ export async function importCustomEmoji(emojis: ApiCustomEmojiJSON[]) {
);
// If there's a mismatch, re-import all custom emojis.
if (existingEmojis.length < emojis.length) {
if (existingEmojis.length > 0 && existingEmojis.length < emojis.length) {
await clearCache('custom');
await loadCustomEmoji();