void-packages/srcpkgs/orion/patches/c61bb86f241df9e17238833c091...

15 lines
443 B
Diff

--- src/qml/irc/ChatView.qml
+++ src/qml/irc/ChatView.qml
@@ -280,6 +280,10 @@ Page {
}
function lookupEmote(word) {
+ if (_textEmotesMap == null) {
+ console.log("FIXME: emotes haven't initialized");
+ return;
+ }
var emoteId = _textEmotesMap[word];
if (emoteId != null) {
return emoteId;