1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00
freebsd-ports/net-im/chatterino2/files/patch-src_providers_ffz_FfzEmotes.cpp
2020-11-17 02:29:28 +00:00

12 lines
410 B
C++

--- src/providers/ffz/FfzEmotes.cpp.orig 2020-11-16 21:05:47 UTC
+++ src/providers/ffz/FfzEmotes.cpp
@@ -14,7 +14,7 @@ namespace {
Url getEmoteLink(const QJsonObject &urls, const QString &emoteScale)
{
auto emote = urls.value(emoteScale);
- if (emote.isUndefined())
+ if (emote.isUndefined() || emote.type() == QJsonValue::Null)
{
return {""};
}