15 lines
447 B
Diff
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;
|
|
|