Commit ad76660a40cc006f0ccf04dd43afa04529f1b38c
rollup: exclude git-update message from auto-refresh
Matt McKegg committed on 2/17/2017, 1:12:57 PMParent: 9a819a51f9e714d07b90b34130d7c67671c60e38
Files changed
modules/feed/html/rollup.js | changed |
modules/feed/html/rollup.js | ||
---|---|---|
@@ -76,9 +76,9 @@ | ||
76 | 76 | getStream({old: false}), |
77 | 77 | pull.drain((item) => { |
78 | 78 | var type = item && item.value && item.value.content.type |
79 | 79 | 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') { | |
81 | 81 | return refresh() |
82 | 82 | } |
83 | 83 | if (filter) { |
84 | 84 | var update = (item.value.content.type === 'post' && item.value.content.root) ? { |
Built with git-ssb-web