mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
added the fourtf cdn
This commit is contained in:
parent
107dc398a8
commit
66c4b4f82b
|
@ -4,6 +4,8 @@
|
||||||
#include "debug/log.hpp"
|
#include "debug/log.hpp"
|
||||||
#include "singletons/settingsmanager.hpp"
|
#include "singletons/settingsmanager.hpp"
|
||||||
|
|
||||||
|
#include <QFile>
|
||||||
|
|
||||||
namespace chatterino {
|
namespace chatterino {
|
||||||
namespace providers {
|
namespace providers {
|
||||||
namespace emoji {
|
namespace emoji {
|
||||||
|
@ -157,8 +159,6 @@ void Emojis::loadEmojiOne2Capabilities()
|
||||||
file.open(QFile::ReadOnly);
|
file.open(QFile::ReadOnly);
|
||||||
QTextStream in(&file);
|
QTextStream in(&file);
|
||||||
|
|
||||||
uint unicodeBytes[4];
|
|
||||||
|
|
||||||
while (!in.atEnd()) {
|
while (!in.atEnd()) {
|
||||||
// Line example: sunglasses 1f60e
|
// Line example: sunglasses 1f60e
|
||||||
QString line = in.readLine();
|
QString line = in.readLine();
|
||||||
|
@ -208,12 +208,18 @@ void Emojis::loadEmojiSet()
|
||||||
// clang-format off
|
// clang-format off
|
||||||
static std::map<QString, QString> emojiSets = {
|
static std::map<QString, QString> emojiSets = {
|
||||||
{"EmojiOne 2", "https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.6/assets/png/"},
|
{"EmojiOne 2", "https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.6/assets/png/"},
|
||||||
{"EmojiOne 3", "https://cdn.jsdelivr.net/npm/emoji-datasource-emojione@4.0.4/img/emojione/64/"},
|
// {"EmojiOne 3", "https://cdn.jsdelivr.net/npm/emoji-datasource-emojione@4.0.4/img/emojione/64/"},
|
||||||
{"Twitter", "https://cdn.jsdelivr.net/npm/emoji-datasource-twitter@4.0.4/img/twitter/64/"},
|
// {"Twitter", "https://cdn.jsdelivr.net/npm/emoji-datasource-twitter@4.0.4/img/twitter/64/"},
|
||||||
{"Facebook", "https://cdn.jsdelivr.net/npm/emoji-datasource-facebook@4.0.4/img/facebook/64/"},
|
// {"Facebook", "https://cdn.jsdelivr.net/npm/emoji-datasource-facebook@4.0.4/img/facebook/64/"},
|
||||||
{"Apple", "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@4.0.4/img/apple/64/"},
|
// {"Apple", "https://cdn.jsdelivr.net/npm/emoji-datasource-apple@4.0.4/img/apple/64/"},
|
||||||
{"Google", "https://cdn.jsdelivr.net/npm/emoji-datasource-google@4.0.4/img/google/64/"},
|
// {"Google", "https://cdn.jsdelivr.net/npm/emoji-datasource-google@4.0.4/img/google/64/"},
|
||||||
{"Messenger", "https://cdn.jsdelivr.net/npm/emoji-datasource-messenger@4.0.4/img/messenger/64/"},
|
// {"Messenger", "https://cdn.jsdelivr.net/npm/emoji-datasource-messenger@4.0.4/img/messenger/64/"},
|
||||||
|
{"EmojiOne 3", "https://cdn.fourtf.com/emoji/emojione/64/"},
|
||||||
|
{"Twitter", "https://cdn.fourtf.com/emoji/twitter/64/"},
|
||||||
|
{"Facebook", "https://cdn.fourtf.com/emoji/facebook/64/"},
|
||||||
|
{"Apple", "https://cdn.fourtf.com/emoji/apple/64/"},
|
||||||
|
{"Google", "https://cdn.fourtf.com/emoji/google/64/"},
|
||||||
|
{"Messenger", "https://cdn.fourtf.com/emoji/messenger/64/"},
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue