Switch to Twitch v2 emote API for animated emote support (#2863)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: Paweł <zneix@zneix.eu>
This commit is contained in:
Ben de Graaff
2021-06-04 21:42:32 +02:00
committed by GitHub
parent 80fed27b4e
commit 6611c24e13
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -10,8 +10,10 @@
#include <memory>
// NB: "default" can be replaced with "static" to always get a non-animated
// variant
#define TWITCH_EMOTE_TEMPLATE \
"https://static-cdn.jtvnw.net/emoticons/v1/{id}/{scale}"
"https://static-cdn.jtvnw.net/emoticons/v2/{id}/default/dark/{scale}"
namespace chatterino {
struct Emote;