mirror-chatterino2/src/singletons/Emotes.cpp
2018-08-11 14:26:02 +02:00

30 lines
568 B
C++

#include "singletons/Emotes.hpp"
#include "Application.hpp"
#include "controllers/accounts/AccountController.hpp"
namespace chatterino {
Emotes::Emotes()
{
}
void Emotes::initialize(Settings &settings, Paths &paths)
{
getApp()->accounts->twitch.currentUserChanged.connect(
[] { getApp()->accounts->twitch.getCurrent()->loadEmotes(); });
this->emojis.load();
this->bttv.loadGlobal();
this->ffz.loadGlobal();
this->gifTimer.initialize();
}
bool Emotes::isIgnoredEmote(const QString &)
{
return false;
}
} // namespace chatterino