git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit f6b15ef0c66ef8142dc6e63a6065df61a37573a2

fix double up of items in main feed when thread spans multiple feed pages

caused by refactor:
https://github.com/ssbc/patchwork/commit/2b4bd6561cd0949af862be8fed0c030
13cd2d9d4
Matt McKegg committed on 12/4/2017, 5:43:51 AM
Parent: 769b943fffb01b5b2627c5b9a6cfcadd2bf8bf14

Files changed

modules/feed/html/rollup.jschanged
package.jsonchanged
modules/feed/html/rollup.jsView
@@ -29,8 +29,9 @@
2929 'message.html.link': 'first',
3030 'message.sync.root': 'first',
3131 'feed.pull.rollup': 'first',
3232 'feed.pull.withReplies': 'first',
33+ 'feed.pull.unique': 'first',
3334 'sbot.async.get': 'first',
3435 'keys.sync.id': 'first',
3536 'intl.sync.i18n': 'first',
3637 'message.html.missing': 'first'
@@ -169,8 +170,9 @@
169170 stream,
170171 abortable,
171172 pull.filter(msg => msg && msg.value && msg.value.content),
172173 prefiltered ? pull(
174+ api.feed.pull.unique(),
173175 pull.filter(msg => !api.message.sync.isBlocked(msg)),
174176 api.feed.pull.withReplies()
175177 ) : pull(
176178 pull.filter(bumpFilter),
package.jsonView
@@ -41,9 +41,9 @@
4141 "mutant": "^3.21.2",
4242 "mutant-pull-reduce": "^1.1.0",
4343 "obv": "0.0.1",
4444 "patch-settings": "^1.0.1",
45- "patchcore": "~1.18.0",
45+ "patchcore": "~1.19.0",
4646 "pull-abortable": "^4.1.0",
4747 "pull-defer": "^0.2.2",
4848 "pull-file": "~1.0.0",
4949 "pull-identify-filetype": "^1.1.0",

Built with git-ssb-web