diff options
author | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-06-16 11:36:42 -0400 |
---|---|---|
committer | cel <cel@lOUVT+Phkvai9a/cCS/RKo+S9hnPAQdVixms/7ldpPA=.ed25519> | 2020-06-16 11:36:42 -0400 |
commit | 06ecfbd12372fae439762d4610b0b7b4b97068d4 (patch) | |
tree | 616bfa8ba3133b33bfbea80f89da1a16b07662ec /lib/render.js | |
parent | 31a4c41338cc7e76dddf93aae3d5c8ebd019cb53 (diff) | |
download | patchfoo-06ecfbd12372fae439762d4610b0b7b4b97068d4.tar.gz patchfoo-06ecfbd12372fae439762d4610b0b7b4b97068d4.zip |
Remove proprietary emoji
Diffstat (limited to 'lib/render.js')
-rw-r--r-- | lib/render.js | 12 |
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) { |