Commit 325f8a3ff6e77b698f12d57000eba1859fe1364d
fix #569
Matt McKegg committed on 6/21/2017, 11:04:23 AMParent: 54ec4075c925566398e570fe0c13a127419d07eb
Files changed
modules/feed/html/rollup.js | changed |
modules/feed/html/rollup.js | ||
---|---|---|
@@ -73,9 +73,11 @@ | ||
73 | 73 | pull( |
74 | 74 | updateStream({old: false}), |
75 | 75 | LookupRoot(), |
76 | 76 | 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) | |
78 | 80 | }), |
79 | 81 | pull.drain((msg) => { |
80 | 82 | if (msg.value.content.type === 'vote') return |
81 | 83 | if (api.app.sync.externalHandler(msg)) return |
Built with git-ssb-web