Move bttv emotes to its own class
This commit is contained in:
@@ -140,7 +140,7 @@ void TwitchChannel::reloadChannelEmotes()
|
||||
|
||||
debug::Log("[TwitchChannel:{}] Reloading channel emotes", this->name);
|
||||
|
||||
app->emotes->reloadBTTVChannelEmotes(this->name, this->bttvChannelEmotes);
|
||||
app->emotes->bttv.loadChannelEmotes(this->name, this->bttvChannelEmotes);
|
||||
app->emotes->reloadFFZChannelEmotes(this->name, this->ffzChannelEmotes);
|
||||
}
|
||||
|
||||
|
||||
@@ -531,7 +531,7 @@ bool TwitchMessageBuilder::tryAppendEmote(QString &emoteString)
|
||||
return true;
|
||||
};
|
||||
|
||||
if (app->emotes->bttvGlobalEmotes.tryGet(emoteString, emoteData)) {
|
||||
if (app->emotes->bttv.globalEmotes.tryGet(emoteString, emoteData)) {
|
||||
// BTTV Global Emote
|
||||
return appendEmote(MessageElement::BttvEmote);
|
||||
} else if (this->twitchChannel != nullptr &&
|
||||
|
||||
Reference in New Issue
Block a user