git ssb

0+

ev / microbay



forked from Dominic / patchbay

Commit aca3cca93bc332c43026da357c3b9ec4039a48fb

Prevent error related to unrendered messages

Charles Lehner committed on 7/14/2016, 5:53:25 PM
Parent: 2a17715525a2eddfab1468cf9cda27ec3979812e

Files changed

modules/thread.jschanged
modules/thread.jsView
@@ -88,9 +88,9 @@
8888 return 'string' === typeof msg.value.content ? message_unbox(msg) : msg
8989 })
9090
9191 if(err) return content.appendChild(h('pre', err.stack))
92- sort(thread).map(message_render).forEach(function (el) {
92+ sort(thread).map(message_render).filter(Boolean).forEach(function (el) {
9393 content.appendChild(el)
9494 })
9595
9696 var branches = sort.heads(thread)

Built with git-ssb-web