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
@@ -576,7 +576,8 @@ void TwitchChannel::roomIdChanged()
QString TwitchChannel::prepareMessage(const QString &message) const
{
auto *app = getApp();
QString parsedMessage = app->emotes->emojis.replaceShortCodes(message);
QString parsedMessage =
app->getEmotes()->getEmojis()->replaceShortCodes(message);
parsedMessage = parsedMessage.simplified();