Commit 79d3aa06cee98ef1386577309e87b311b21caaeb
don't refresh on digs
Matt McKegg committed on 11/10/2016, 2:23:52 PMParent: 38b0812f2f3a84faff8a7c371f0d54fe34ad12c8
Files changed
modules/feed-summary.js | changed |
modules/feed-summary.js | ||
---|---|---|
@@ -57,12 +57,12 @@ | ||
57 | 57 | pull( |
58 | 58 | getStream({old: false}), |
59 | 59 | pull.drain((item) => { |
60 | 60 | var type = item && item.value && item.value.content.type |
61 | - if (item.value && item.value.author === get_id() && !updates()) { | |
62 | - return refresh() | |
63 | - } | |
64 | 61 | if (type && type !== 'vote') { |
62 | + if (item.value && item.value.author === get_id() && !updates()) { | |
63 | + return refresh() | |
64 | + } | |
65 | 65 | if (filter) { |
66 | 66 | var update = (item.value.content.type === 'post' && item.value.content.root) ? { |
67 | 67 | type: 'message', |
68 | 68 | messageId: item.value.content.root, |
Built with git-ssb-web