Disable in-thread deduping for reposted replies (#5135)
parent
8860890a85
commit
e2a244b998
|
@ -271,10 +271,15 @@ export class FeedTuner {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (!dryRun) {
|
if (!dryRun) {
|
||||||
|
// Reposting a reply elevates it to top-level, so its parent/root won't be displayed.
|
||||||
|
// Disable in-thread dedupe for this case since we don't want to miss them later.
|
||||||
|
const disableDedupe = slice.isReply && slice.isRepost
|
||||||
|
if (!disableDedupe) {
|
||||||
this.seenUris.add(item.post.uri)
|
this.seenUris.add(item.post.uri)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
if (!dryRun) {
|
if (!dryRun) {
|
||||||
this.seenKeys.add(slice._reactKey)
|
this.seenKeys.add(slice._reactKey)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue