Remove reposts from the Replies tab (#4669)
This commit is contained in:
@@ -12,6 +12,12 @@ export function useFeedTuners(feedDesc: FeedDescriptor) {
|
||||
const {currentAccount} = useSession()
|
||||
|
||||
return useMemo(() => {
|
||||
if (feedDesc.startsWith('author')) {
|
||||
if (feedDesc.endsWith('|posts_with_replies')) {
|
||||
// TODO: Do this on the server instead.
|
||||
return [FeedTuner.removeReposts]
|
||||
}
|
||||
}
|
||||
if (feedDesc.startsWith('feedgen')) {
|
||||
return [
|
||||
FeedTuner.dedupReposts,
|
||||
|
||||
Reference in New Issue
Block a user