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
+1 -1
View File
@@ -814,7 +814,7 @@ void MessageBuilder::addIrcWord(const QString &text, const QColor &color,
bool addSpace)
{
this->textColor_ = color;
for (auto &variant : getApp()->emotes->emojis.parse(text))
for (auto &variant : getIApp()->getEmotes()->getEmojis()->parse(text))
{
boost::apply_visitor(
[&](auto &&arg) {