git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 8d5816a51b85c97f3b7f60b7b29612be98626a6e

all feed: don't show updates for private messages

fixes #578
Matt McKegg committed on 7/1/2017, 10:10:20 AM
Parent: ff2d4c85936a5cd84b42dd28cdd0df4a6f784893

Files changed

modules/page/html/render/all.jschanged
modules/page/html/render/all.jsView
@@ -28,8 +28,11 @@
2828 api.message.html.compose({ meta: { type: 'post' }, placeholder: 'Write a public message' })
2929 ]
3030
3131 var feedView = api.feed.html.rollup(api.feed.pull.public, {
32+ bumpFilter: (msg) => {
33+ return msg.value.content && typeof msg.value.content === 'object'
34+ },
3235 prepend
3336 })
3437
3538 var result = h('div.SplitView', [

Built with git-ssb-web