Commit d7320505206723ecc3f1c6fa2d701d0ebdc057b5
feed.pull.rollup: fix typo
Matt McKegg committed on 6/21/2017, 12:35:14 AMParent: aeffed8b04f94878e4481ca09cd5359940c55102
Files changed
feed/pull/rollup.js | changed |
feed/pull/rollup.js | ||
---|---|---|
@@ -44,9 +44,9 @@ | ||
44 | 44 … | pull( |
45 | 45 … | api.sbot.pull.backlinks({ |
46 | 46 … | query: [{$filter: { dest: rootMessage.key }}] |
47 | 47 … | }), |
48 | - pull.filter(msg => api.message.sync.root(msg) || rootMessage.key === rootMessage.key), | |
48 … | + pull.filter(msg => (api.message.sync.root(msg) || rootMessage.key) === rootMessage.key), | |
49 | 49 … | pull.collect((err, replies) => { |
50 | 50 … | if (err) return cb(err) |
51 | 51 … | cb(null, extend(rootMessage, { replies })) |
52 | 52 … | }) |
Built with git-ssb-web