From 7c81f371ef9f5ddec5484efbab9fe86150b3ad8a Mon Sep 17 00:00:00 2001 From: cel Date: Tue, 30 May 2017 13:37:41 -1000 Subject: fix crash --- lib/render.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/render.js b/lib/render.js index 83c6d10..21cdbda 100644 --- a/lib/render.js +++ b/lib/render.js @@ -88,7 +88,7 @@ function Render(app, opts) { Render.prototype.emoji = function (emoji) { var name = ':' + emoji + ':' - var link = this._mentions[name] + var link = this._mentions && this._mentions[name] if (link && link.link) { this.app.reverseEmojiNameCache.set(emoji, link.link) return h('img.ssb-emoji', { -- cgit v1.2.3