aboutsummaryrefslogtreecommitdiff
path: root/net-im/chatterino2/files
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2020-11-17 02:29:28 +0000
committerSteve Wills <swills@FreeBSD.org>2020-11-17 02:29:28 +0000
commit344db4ff56c147468ca1132ac8e3f74156017413 (patch)
tree9c695d9e2ee976d18a1064884a950fe8c2af5ada /net-im/chatterino2/files
parentadc672f91299f70f124fdba3a0d725773c7bf334 (diff)
downloadports-344db4ff56c147468ca1132ac8e3f74156017413.tar.gz
ports-344db4ff56c147468ca1132ac8e3f74156017413.zip
Notes
Diffstat (limited to 'net-im/chatterino2/files')
-rw-r--r--net-im/chatterino2/files/patch-src_providers_ffz_FfzEmotes.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/chatterino2/files/patch-src_providers_ffz_FfzEmotes.cpp b/net-im/chatterino2/files/patch-src_providers_ffz_FfzEmotes.cpp
new file mode 100644
index 000000000000..b3d2aa41e761
--- /dev/null
+++ b/net-im/chatterino2/files/patch-src_providers_ffz_FfzEmotes.cpp
@@ -0,0 +1,11 @@
+--- 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 {""};
+ }