fix(feed): filter out unmarked replies too
This commit is contained in:
parent
9b74713e0b
commit
d7bf7acc36
@ -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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user