Skip to content

Commit

Permalink
Update packages/archive/src/lib/list.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
immccn123 committed Aug 4, 2024
1 parent bd8044e commit b473d4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/archive/src/lib/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export default async function getPostList(
!(post.id in saved) || // 没有保存过亦如此
(post.recentReply && // 有回复并
(!saved[post.id] || // 上一次保存时没有回复或
saved[post.id] !== post.recentReply.id)), // 最新回复 id 不一致
saved[post.id] < post.recentReply.id)), // 存在更新的回复(该 id 随时间单调递增)
)
.map((post) => post.id);
}

0 comments on commit b473d4f

Please sign in to comment.