git ssb

9+

cel / ssb-viewer



Commit 73e8e7c2989716a8cf20a25791ecaa4e293691b1

Fix render crash in user-feed

Anders Rune Jensen committed on 1/10/2018, 10:45:26 PM
Parent: b6ee22a69b019b21e0652f96fa87c75a452d6a4f

Files changed

render.jschanged
render.jsView
@@ -57,9 +57,9 @@
5757 };
5858
5959 function renderEmoji(emoji) {
6060 var opts = this.renderer.opts;
61- var url = opts.mentions[emoji]
61 + var url = opts.mentions && opts.mentions[emoji]
6262 ? opts.blob_base + encodeURIComponent(opts.mentions[emoji])
6363 : emoji in emojis && opts.emoji_base + escape(emoji) + '.png';
6464 return url
6565 ? h('img.ssb-emoji',

Built with git-ssb-web