feat: update emojis to Unicode 16.0 (#6155)

This commit is contained in:
nerix
2025-04-20 13:31:23 +02:00
committed by GitHub
parent a4eb50db5e
commit 14aa4d1400
3 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -275,15 +275,15 @@ void Emojis::loadEmojiSet()
};
// clang-format on
// As of emoji-data v15.1.1, google is the only source missing no images.
// Both Twitter/Twemoji and Google have all images
if (!emoji->capabilities.has(setCapability))
{
emojiSetToUse = QStringLiteral("Google");
emojiSetToUse = QStringLiteral("Twitter");
}
QString code = emoji->unifiedCode.toLower();
QString urlPrefix =
"https://pajbot.com/static/emoji-v2/img/google/64/";
"https://pajbot.com/static/emoji-v2/img/twitter/64/";
auto it = emojiSets.find(emojiSetToUse);
if (it != emojiSets.end())
{