Fix: Adjust home TL post dedup to ensure polling works correctly
This commit is contained in:
parent
fbcf0d79d1
commit
1370353ff6
1 changed files with 2 additions and 1 deletions
|
@ -488,7 +488,8 @@ function preprocessFeed(
|
||||||
for (let i = feed.length - 1; i >= 0; i--) {
|
for (let i = feed.length - 1; i >= 0; i--) {
|
||||||
const item = feed[i] as FeedItemWithThreadMeta
|
const item = feed[i] as FeedItemWithThreadMeta
|
||||||
|
|
||||||
if (dedup) {
|
// dont dedup the first item so that polling works properly
|
||||||
|
if (dedup && i !== 0) {
|
||||||
if (reorg.find(item2 => item2.uri === item.uri)) {
|
if (reorg.find(item2 => item2.uri === item.uri)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue