Fix FFZ emote links for global emotes (#2808)

This commit is contained in:
Mm2PL
2021-05-23 13:26:18 +00:00
committed by GitHub
parent 258851e572
commit f123a11c1c
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@
- Minor: Made "#channel" in `/mentions` tab show in usercards and in the search popup. (#2802)
- Minor: Added settings to disable custom FrankerFaceZ VIP/mod badges. (#2693, #2759)
- Bugfix: Fixed FFZ emote links for global emotes (#2807, #2808)
## 2.3.2
+2 -1
View File
@@ -67,7 +67,8 @@ namespace {
auto jsonEmote = jsonEmoteValue.toObject();
auto name = EmoteName{jsonEmote.value("name").toString()};
auto id = EmoteId{jsonEmote.value("id").toString()};
auto id =
EmoteId{QString::number(jsonEmote.value("id").toInt())};
auto urls = jsonEmote.value("urls").toObject();
auto emote = Emote();