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

15 lines
447 B
Diff

--- a/src/qml/irc/ChatView.qml
+++ b/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;