Feed - posts #227

Merged
enes merged 23 commits from feat/131-feed-posts into staging 2025-02-14 19:54:29 +00:00
Showing only changes of commit d7bf7acc36 - Show all commits

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))