Remove unused chatterino emotes

This commit is contained in:
Rasmus Karlsson
2018-06-05 18:56:05 +02:00
committed by fourtf
parent e09e0a5ab4
commit 8db3bf483e
3 changed files with 0 additions and 14 deletions
@@ -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;
-5
View File
@@ -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
-6
View File
@@ -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