Commit 8d5816a51b85c97f3b7f60b7b29612be98626a6e
all feed: don't show updates for private messages
fixes #578Matt McKegg committed on 7/1/2017, 10:10:20 AM
Parent: ff2d4c85936a5cd84b42dd28cdd0df4a6f784893
Files changed
modules/page/html/render/all.js | changed |
modules/page/html/render/all.js | ||
---|---|---|
@@ -28,8 +28,11 @@ | ||
28 | 28 … | api.message.html.compose({ meta: { type: 'post' }, placeholder: 'Write a public message' }) |
29 | 29 … | ] |
30 | 30 … | |
31 | 31 … | var feedView = api.feed.html.rollup(api.feed.pull.public, { |
32 … | + bumpFilter: (msg) => { | |
33 … | + return msg.value.content && typeof msg.value.content === 'object' | |
34 … | + }, | |
32 | 35 … | prepend |
33 | 36 … | }) |
34 | 37 … | |
35 | 38 … | var result = h('div.SplitView', [ |
Built with git-ssb-web