git ssb

7+

dinoworm 🐛 / patchcore



Commit 51aae5719eca887b566cf7799cfe9f098483427b

rollup: whoops, don't include other root messages as replies

Matt McKegg committed on 7/3/2017, 3:54:38 AM
Parent: d82371027a76339ade8a20c9e4f1e2db42705906

Files changed

feed/pull/rollup.jschanged
feed/pull/rollup.jsView
@@ -90,9 +90,9 @@
9090 // use global backlinks cache
9191 var backlinks = api.backlinks.obs.for(rootMessage.key)
9292 onceTrue(backlinks.sync, () => {
9393 var replies = resolve(backlinks).filter((msg) => {
94- return (api.message.sync.root(msg) || rootMessage.key) === rootMessage.key
94 + return api.message.sync.root(msg) === rootMessage.key
9595 })
9696 cb(null, extend(rootMessage, { replies }))
9797 })
9898 })

Built with git-ssb-web