2018-06-28 19:46:45 +02:00
|
|
|
#include "singletons/Emotes.hpp"
|
2018-04-27 22:11:19 +02:00
|
|
|
|
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-04-27 22:11:19 +02:00
|
|
|
{
|
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(); });
|
2017-06-13 21:13:58 +02:00
|
|
|
|
2018-06-05 18:53:49 +02:00
|
|
|
this->emojis.load();
|
2018-08-11 14:20:53 +02:00
|
|
|
this->bttv.loadGlobal();
|
|
|
|
this->ffz.loadGlobal();
|
2018-06-05 18:30:26 +02:00
|
|
|
|
|
|
|
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 &)
|
2018-06-28 19:38:57 +02:00
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2017-05-27 16:16:39 +02:00
|
|
|
} // namespace chatterino
|