mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
reformat channel.cpp KKona
This commit is contained in:
parent
0ace6d2bc8
commit
8ef492d7ae
13
channel.cpp
13
channel.cpp
|
@ -11,6 +11,7 @@
|
|||
#include <QNetworkAccessManager>
|
||||
#include <QNetworkReply>
|
||||
#include <QNetworkRequest>
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace chatterino {
|
||||
|
@ -62,11 +63,11 @@ Channel::reloadBttvEmotes()
|
|||
tmp.replace("{{id}}", id).replace("{{image}}", "1x");
|
||||
|
||||
this->getBttvChannelEmotes().insert(
|
||||
code,
|
||||
Emotes::getBttvChannelEmoteFromCaches().getOrAdd(
|
||||
code, Emotes::getBttvChannelEmoteFromCaches().getOrAdd(
|
||||
id, [&code, &url] {
|
||||
return new messages::LazyLoadedImage(
|
||||
url, 1, code, code + "\nChannel Bttv Emote");
|
||||
url, 1, code,
|
||||
code + "\nChannel Bttv Emote");
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
@ -109,11 +110,11 @@ Channel::reloadFfzEmotes()
|
|||
QString url1 = "http:" + urls.value("1").toString();
|
||||
|
||||
this->getFfzChannelEmotes().insert(
|
||||
code,
|
||||
Emotes::getFfzChannelEmoteFromCaches().getOrAdd(
|
||||
code, Emotes::getFfzChannelEmoteFromCaches().getOrAdd(
|
||||
id, [&code, &url1] {
|
||||
return new messages::LazyLoadedImage(
|
||||
url1, 1, code, code + "\nGlobal Ffz Emote");
|
||||
url1, 1, code,
|
||||
code + "\nGlobal Ffz Emote");
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue