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
+4 -2
View File
@@ -325,8 +325,10 @@ void TwitchAccount::loadUserstateEmotes(std::weak_ptr<Channel> weakChannel)
emoteSet->emotes.push_back(TwitchEmote{id, code});
auto emote =
getApp()->emotes->twitch.getOrCreateEmote(id, code);
auto emote = getIApp()
->getEmotes()
->getTwitchEmotes()
->getOrCreateEmote(id, code);
// Follower emotes can be only used in their origin channel
// unless the user is subscribed, then they can be used anywhere.