mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
30 lines
568 B
C++
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
|