fix(feed): filter out unmarked replies too

This commit is contained in:
en 2025-02-14 18:00:22 +01:00
parent 9b74713e0b
commit d7bf7acc36

View File

@ -79,12 +79,7 @@ export const FeedTabPosts = () => {
)
// Filter reply events
_notes = _notes.filter(
(n) =>
n.getMatchingTags('e', 'root').length +
n.getMatchingTags('e', 'reply').length ===
0
)
_notes = _notes.filter((n) => n.getMatchingTags('e').length === 0)
_notes = _notes.sort((a, b) => (b.created_at ?? 0) - (a.created_at ?? 0))