chore: replace usages of obsolete twitch struct with backing field (#3614)
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
This commit is contained in:
@@ -341,9 +341,9 @@ void EmotePopup::loadChannel(ChannelPtr channel)
|
||||
*globalChannel, *subChannel, this->channel_->getName());
|
||||
|
||||
// global
|
||||
addEmotes(*globalChannel, *getApp()->twitch2->getBttvEmotes().emotes(),
|
||||
addEmotes(*globalChannel, *getApp()->twitch->getBttvEmotes().emotes(),
|
||||
"BetterTTV", MessageElementFlag::BttvEmote);
|
||||
addEmotes(*globalChannel, *getApp()->twitch2->getFfzEmotes().emotes(),
|
||||
addEmotes(*globalChannel, *getApp()->twitch->getFfzEmotes().emotes(),
|
||||
"FrankerFaceZ", MessageElementFlag::FfzEmote);
|
||||
|
||||
// channel
|
||||
@@ -406,9 +406,9 @@ void EmotePopup::filterTwitchEmotes(std::shared_ptr<Channel> searchChannel,
|
||||
}
|
||||
|
||||
auto bttvGlobalEmotes = this->filterEmoteMap(
|
||||
searchText, getApp()->twitch2->getBttvEmotes().emotes());
|
||||
searchText, getApp()->twitch->getBttvEmotes().emotes());
|
||||
auto ffzGlobalEmotes = this->filterEmoteMap(
|
||||
searchText, getApp()->twitch2->getFfzEmotes().emotes());
|
||||
searchText, getApp()->twitch->getFfzEmotes().emotes());
|
||||
|
||||
// twitch
|
||||
addEmoteSets(twitchGlobalEmotes, *searchChannel, *searchChannel,
|
||||
|
||||
Reference in New Issue
Block a user