diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render.js | 2 |
1 files changed, 1 insertions, 1 deletions
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', { |