Disable in-thread deduping for reposted replies (#5135)

This commit is contained in:
dan
2024-09-04 14:42:22 +01:00
committed by GitHub
parent 8860890a85
commit e2a244b998
+6 -1
View File
@@ -271,7 +271,12 @@ export class FeedTuner {
}
} else {
if (!dryRun) {
this.seenUris.add(item.post.uri)
// 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)
}
}
}
}