refactor: make Application::emotes private (#5109)

This commit is contained in:
pajlada
2024-01-20 11:49:32 +01:00
committed by GitHub
parent 36931fac62
commit 97702e0a1f
9 changed files with 16 additions and 15 deletions
+2 -1
View File
@@ -685,7 +685,8 @@ void SingleLineTextElement::addToContainer(MessageLayoutContainer &container,
currentText += ' ';
}
for (const auto &parsedWord : app->emotes->emojis.parse(word.text))
for (const auto &parsedWord :
app->getEmotes()->getEmojis()->parse(word.text))
{
if (parsedWord.type() == typeid(QString))
{