git ssb

10+

Matt McKegg / patchwork



Commit 325f8a3ff6e77b698f12d57000eba1859fe1364d

fix #569

Matt McKegg committed on 6/21/2017, 11:04:23 AM
Parent: 54ec4075c925566398e570fe0c13a127419d07eb

Files changed

modules/feed/html/rollup.jschanged
modules/feed/html/rollup.jsView
@@ -73,9 +73,11 @@
7373 pull(
7474 updateStream({old: false}),
7575 LookupRoot(),
7676 pull.filter((msg) => {
77- return msg && msg.value && msg.value.content && rootFilter(msg.root || msg) && bumpFilter(msg)
77+ // only render posts that have a root message
78+ var root = msg.root || msg
79+ return root && root.value && root.value.content && rootFilter(root) && bumpFilter(msg)
7880 }),
7981 pull.drain((msg) => {
8082 if (msg.value.content.type === 'vote') return
8183 if (api.app.sync.externalHandler(msg)) return

Built with git-ssb-web