refactor(app): collapse the duplicate emoji shortcode matchers into one (#1854)

This commit is contained in:
Hampus authored and GitHub committed 2026-08-24 12:31:51 +02:00
1 parent aad7e1a551
commit 02406925d7
11 files changed
+81 -86

No files matched your search

@@ -99,7 +99,7 @@ const StatusEmojiWithTooltip = observer(
return `:${status.emojiName}:`;
}
if (status.emojiName) {
return UnicodeEmojis.convertSurrogateToName(status.emojiName, true, status.emojiName);
return UnicodeEmojis.nameForSurrogate(status.emojiName, true, status.emojiName);
}
return '';
};