git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit ad76660a40cc006f0ccf04dd43afa04529f1b38c

rollup: exclude git-update message from auto-refresh

Matt McKegg committed on 2/17/2017, 1:12:57 PM
Parent: 9a819a51f9e714d07b90b34130d7c67671c60e38

Files changed

modules/feed/html/rollup.jschanged
modules/feed/html/rollup.jsView
@@ -76,9 +76,9 @@
7676 getStream({old: false}),
7777 pull.drain((item) => {
7878 var type = item && item.value && item.value.content.type
7979 if (type && type !== 'vote') {
80- if (item.value && item.value.author === api.keys.sync.id() && !updates()) {
80+ if (item.value && item.value.author === api.keys.sync.id() && !updates() && type !== 'git-update') {
8181 return refresh()
8282 }
8383 if (filter) {
8484 var update = (item.value.content.type === 'post' && item.value.content.root) ? {

Built with git-ssb-web