Remove global third party emotes from TwitchChannel class (#3000)
Those are still accessible under getApp()->twitch2 instance.
This commit is contained in:
@@ -104,9 +104,9 @@ void InputCompletionPopup::updateEmotes(const QString &text, ChannelPtr channel)
|
||||
if (auto ffz = tc->ffzEmotes())
|
||||
addEmotes(emotes, *ffz, text, "Channel FrankerFaceZ");
|
||||
|
||||
if (auto bttvG = tc->globalBttv().emotes())
|
||||
if (auto bttvG = getApp()->twitch2->getBttvEmotes().emotes())
|
||||
addEmotes(emotes, *bttvG, text, "Global BetterTTV");
|
||||
if (auto ffzG = tc->globalFfz().emotes())
|
||||
if (auto ffzG = getApp()->twitch2->getFfzEmotes().emotes())
|
||||
addEmotes(emotes, *ffzG, text, "Global FrankerFaceZ");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user