git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit f2e05ea5dbafcd1d773de66351a65641b3f48090

don't bump private messages for likes (as it creates roots)

Matt McKegg committed on 10/19/2017, 3:29:09 AM
Parent: 3b604c1cf2345ffd86568bd639cc9bb8f7cfbbad

Files changed

modules/page/html/render/private.jschanged
modules/page/html/render/private.jsView
@@ -29,9 +29,12 @@
2929 },
3030 placeholder: i18n('Write a private message')
3131 })
3232
33- var view = api.feed.html.rollup(api.feed.pull.private, { prepend: [compose] })
33+ var view = api.feed.html.rollup(api.feed.pull.private, {
34+ prepend: [compose],
35+ bumpFilter: (msg) => msg.value.content.type !== 'vote'
36+ })
3437
3538 view.setAnchor = function (data) {
3639 if (data && data.compose && data.compose.to) {
3740 var name = api.about.obs.name(data.compose.to)

Built with git-ssb-web