Fix new emotes not loading properly because of cache (#596)

Fix #595
This commit is contained in:
Lajamerr Mittesdine 2018-07-10 11:47:16 -04:00 committed by pajlada
parent 91e320edf8
commit d82c647edd
2 changed files with 0 additions and 4 deletions

View file

@ -24,7 +24,6 @@ void BTTVEmotes::loadGlobalEmotes()
NetworkRequest request(url);
request.setCaller(QThread::currentThread());
request.setTimeout(30000);
request.setUseQuickLoadCache(true);
request.onSuccess([this](auto result) {
auto root = result.parseJson();
auto emotes = root.value("emotes").toArray();
@ -68,7 +67,6 @@ void BTTVEmotes::loadChannelEmotes(const QString &channelName, std::weak_ptr<Emo
NetworkRequest request(url);
request.setCaller(QThread::currentThread());
request.setTimeout(3000);
request.setUseQuickLoadCache(true);
request.onSuccess([this, channelName, _map](auto result) {
auto rootNode = result.parseJson();
auto map = _map.lock();

View file

@ -49,7 +49,6 @@ void FFZEmotes::loadGlobalEmotes()
NetworkRequest request(url);
request.setCaller(QThread::currentThread());
request.setTimeout(30000);
request.setUseQuickLoadCache(true);
request.onSuccess([this](auto result) {
auto root = result.parseJson();
auto sets = root.value("sets").toObject();
@ -92,7 +91,6 @@ void FFZEmotes::loadChannelEmotes(const QString &channelName, std::weak_ptr<Emot
NetworkRequest request(url);
request.setCaller(QThread::currentThread());
request.setTimeout(3000);
request.setUseQuickLoadCache(true);
request.onSuccess([this, channelName, _map](auto result) {
auto rootNode = result.parseJson();
auto map = _map.lock();