Remove unused chatterino emotes
This commit is contained in:
@@ -545,9 +545,6 @@ bool TwitchMessageBuilder::tryAppendEmote(QString &emoteString)
|
|||||||
this->twitchChannel->ffzChannelEmotes->tryGet(emoteString, emoteData)) {
|
this->twitchChannel->ffzChannelEmotes->tryGet(emoteString, emoteData)) {
|
||||||
// FFZ Channel Emote
|
// FFZ Channel Emote
|
||||||
return appendEmote(MessageElement::FfzEmote);
|
return appendEmote(MessageElement::FfzEmote);
|
||||||
} else if (app->emotes->getChatterinoEmotes().tryGet(emoteString, emoteData)) {
|
|
||||||
// Chatterino Emote
|
|
||||||
return appendEmote(MessageElement::Misc);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -27,11 +27,6 @@ void EmoteManager::initialize()
|
|||||||
this->gifTimer.initialize();
|
this->gifTimer.initialize();
|
||||||
}
|
}
|
||||||
|
|
||||||
util::EmoteMap &EmoteManager::getChatterinoEmotes()
|
|
||||||
{
|
|
||||||
return _chatterinoEmotes;
|
|
||||||
}
|
|
||||||
|
|
||||||
util::EmoteData EmoteManager::getCheerImage(long long amount, bool animated)
|
util::EmoteData EmoteManager::getCheerImage(long long amount, bool animated)
|
||||||
{
|
{
|
||||||
// TODO: fix this xD
|
// TODO: fix this xD
|
||||||
|
|||||||
@@ -30,17 +30,11 @@ public:
|
|||||||
|
|
||||||
void initialize();
|
void initialize();
|
||||||
|
|
||||||
util::EmoteMap &getChatterinoEmotes();
|
|
||||||
|
|
||||||
util::EmoteData getCheerImage(long long int amount, bool animated);
|
util::EmoteData getCheerImage(long long int amount, bool animated);
|
||||||
|
|
||||||
// Bit badge/emotes?
|
// Bit badge/emotes?
|
||||||
// TODO: Move to twitch emote provider
|
// TODO: Move to twitch emote provider
|
||||||
util::ConcurrentMap<QString, messages::Image *> miscImageCache;
|
util::ConcurrentMap<QString, messages::Image *> miscImageCache;
|
||||||
|
|
||||||
private:
|
|
||||||
/// Chatterino emotes
|
|
||||||
util::EmoteMap _chatterinoEmotes;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace singletons
|
} // namespace singletons
|
||||||
|
|||||||
Reference in New Issue
Block a user