aboutsummaryrefslogtreecommitdiff
path: root/lib/render.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/render.js')
-rw-r--r--lib/render.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/render.js b/lib/render.js
index 7f6cba5..228eed0 100644
--- a/lib/render.js
+++ b/lib/render.js
@@ -6,7 +6,6 @@ var paramap = require('pull-paramap')
var h = require('hyperscript')
var ph = require('pull-hyperscript')
var marked = require('ssb-marked')
-var emojis = require('emoji-named-characters')
var qs = require('querystring')
var u = require('./util')
var multicb = require('multicb')
@@ -162,15 +161,6 @@ Render.prototype.emoji = function (emoji) {
title: name,
})
}
- if (emoji in emojis) {
- return h('img.ssb-emoji', {
- src: this.opts.emoji_base + emoji + '.png',
- alt: name,
- height: 17,
- align: 'absmiddle',
- title: name,
- })
- }
return name
}
@@ -303,7 +293,7 @@ Render.prototype.toUrl = function (href) {
}
Render.prototype.lockIcon = function () {
- return this.emoji('lock')
+ return '🔒'
}
Render.prototype.avatarImage = function (link, cb) {