git ssb

2+

mixmix / ticktack



Commit 6157b7e40f2661d7446d259ae7fdf6701b108df9

only root messages belonging to user in userShow

mix irving committed on 12/5/2017, 9:38:27 AM
Parent: ff0da858cd1b870bf477a4854c90fe7c04226300

Files changed

app/page/userShow.jschanged
app/page/userShow.jsView
@@ -52,8 +52,9 @@
5252 const BLOG_TYPES = ['blog', 'post']
5353 const blogs = MutantArray()
5454 pull(
5555 api.sbot.pull.userFeed({id: feed, reverse: true, live: false}),
56+ pull.filter(msg => msg.value && msg.value.content && !msg.value.content.root),
5657 pull.filter(msg => BLOG_TYPES.includes(get(msg, 'value.content.type'))),
5758 // pull.filter(msg => get(msg, 'value.content.root') === undefined),
5859 api.feed.pull.rollup(),
5960 //unread state should not be in this file...

Built with git-ssb-web