diff options
author | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2020-03-17 11:29:12 -0400 |
---|---|---|
committer | cel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519> | 2020-03-19 17:43:55 -0400 |
commit | 5855b689e591248e74b1af616a37a319e062f580 (patch) | |
tree | 9e0a43aeef73d479a7b738d502e00c5c124037ec /lib | |
parent | b9dbfb3db9ee72c3b45f688786427105e2785799 (diff) | |
download | patchfoo-5855b689e591248e74b1af616a37a319e062f580.tar.gz patchfoo-5855b689e591248e74b1af616a37a319e062f580.zip |
Render image removal
Diffstat (limited to 'lib')
-rw-r--r-- | lib/render-msg.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/render-msg.js b/lib/render-msg.js index d056bc4..f7bd350 100644 --- a/lib/render-msg.js +++ b/lib/render-msg.js @@ -744,7 +744,7 @@ RenderMsg.prototype.about = function (cb) { 'ending at ', dateTime(this.c.endDateTime)) : '', this.c.location ? h('div', 'at ', h('span', {innerHTML: u.unwrapP(this.render.markdown(this.c.location))})) : '', - img ? h('a', {href: this.toUrl(img)}, + img ? this.c.image.remove ? '[image removed]' : h('a', {href: this.toUrl(img)}, h('img.ssb-avatar-image', { src: this.render.imageUrl(img), alt: ' ', |