mirror-chatterino2/src/singletons/Emotes.cpp

28 lines
511 B
C++
Raw Normal View History

2018-06-28 19:46:45 +02:00
#include "singletons/Emotes.hpp"
2018-06-26 14:09:39 +02:00
#include "Application.hpp"
#include "controllers/accounts/AccountController.hpp"
2017-01-04 15:12:31 +01:00
2017-04-14 17:52:22 +02:00
namespace chatterino {
2017-01-18 21:30:23 +01:00
2018-08-02 14:23:27 +02:00
Emotes::Emotes()
{
2018-08-02 14:23:27 +02:00
}
void Emotes::initialize(Settings &settings, Paths &paths)
{
getApp()->accounts->twitch.currentUserChanged.connect(
[] { getApp()->accounts->twitch.getCurrent()->loadEmotes(); });
2018-06-05 18:53:49 +02:00
this->emojis.load();
this->gifTimer.initialize();
2017-04-12 17:46:44 +02:00
}
2017-01-15 16:38:30 +01:00
2018-06-28 19:51:07 +02:00
bool Emotes::isIgnoredEmote(const QString &)
{
return false;
}
2017-05-27 16:16:39 +02:00
} // namespace chatterino