mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
344db4ff56
Obtained from: https://github.com/Chatterino/chatterino2/pull/2192 MFH: 2020Q4
12 lines
410 B
C++
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 {""};
|
|
}
|