mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
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:
parent
80fed27b4e
commit
6611c24e13
|
@ -10,6 +10,7 @@
|
||||||
- Minor: Limit the number of recent chatters to improve memory usage and reduce freezes. (#2796, #2814)
|
- Minor: Limit the number of recent chatters to improve memory usage and reduce freezes. (#2796, #2814)
|
||||||
- Minor: Added `/popout` command. Usage: `/popout [channel]`. It opens browser chat for the provided channel. Can also be used without arguments to open current channels browser chat. (#2556, #2812)
|
- Minor: Added `/popout` command. Usage: `/popout [channel]`. It opens browser chat for the provided channel. Can also be used without arguments to open current channels browser chat. (#2556, #2812)
|
||||||
- Minor: Improved matching of game names when using `/setgame` command (#2636)
|
- Minor: Improved matching of game names when using `/setgame` command (#2636)
|
||||||
|
- Minor: Switch to Twitch v2 emote API for animated emote support. (#2863)
|
||||||
- Bugfix: Fixed FFZ emote links for global emotes (#2807, #2808)
|
- Bugfix: Fixed FFZ emote links for global emotes (#2807, #2808)
|
||||||
|
|
||||||
## 2.3.2
|
## 2.3.2
|
||||||
|
|
|
@ -10,8 +10,10 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
// NB: "default" can be replaced with "static" to always get a non-animated
|
||||||
|
// variant
|
||||||
#define TWITCH_EMOTE_TEMPLATE \
|
#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 {
|
namespace chatterino {
|
||||||
struct Emote;
|
struct Emote;
|
||||||
|
|
Loading…
Reference in a new issue