feat: hide relay reviews from spammer

This commit is contained in:
codytseng 2025-12-09 22:35:06 +08:00
parent d90348dd97
commit ac196cd662
10 changed files with 202 additions and 153 deletions

View file

@ -45,9 +45,9 @@ const ExplorePage = forwardRef<TPageRef>((_, ref) => {
<NoteList
showKinds={[ExtendedKind.RELAY_REVIEW]}
subRequests={[{ urls: BIG_RELAY_URLS, filter: {} }]}
filterMutedNotes
hideUntrustedNotes={hideUntrustedNotes}
filterFn={relayReviewFilterFn}
filterMutedNotes
hideSpam
/>
) : (
<FollowingFavoriteRelayList />

View file

@ -28,6 +28,7 @@ const RelayReviewsPage = forwardRef(({ url, index }: { url?: string; index?: num
filter: { '#d': [normalizedUrl] }
}
]}
hideSpam
/>
</SecondaryPageLayout>
)