fix(NewPostNotification): 移除存储帖子过滤中的冗余ID检查

移除storedPosts过滤中不必要的ID前缀检查,该检查在Map构建时已通过scope处理,简化代码逻辑避免重复过滤。
This commit is contained in:
二叉树树
2026-01-26 18:20:41 +08:00
parent bfa0805f5d
commit 376f19cb5d
2 changed files with 7 additions and 2 deletions

View File

@@ -474,7 +474,6 @@
// Compare
const storedMap = new Map(
storedPosts
.filter(p => p.id && p.id.startsWith(`${SCOPE_ID}:`))
.map(p => [p.guid, p])
);