#4723 Fix emoji warnings and missing emojis

This commit is contained in:
Andrey Kleshchev
2025-09-24 23:43:33 +03:00
parent 351b7763a8
commit 8976d69dba
+7 -4
View File
@@ -390,14 +390,17 @@ void LLEmojiDictionary::loadEmojis()
continue;
}
std::string category;
std::list<std::string> categories = loadCategories(sd);
if (categories.empty())
{
LL_WARNS() << "Skipping invalid emoji descriptor (no categories)" << LL_ENDL;
continue;
// Should already have a localization for "other symbols"
category = "other symbols";
}
else
{
category = categories.front();
}
std::string category = categories.front();
if (std::find(mSkipCategories.begin(), mSkipCategories.end(), category) != mSkipCategories.end())
{