about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/state/preferences/feed-tuners.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/state/preferences/feed-tuners.tsx b/src/state/preferences/feed-tuners.tsx
index ca0fefe91..7d4451513 100644
--- a/src/state/preferences/feed-tuners.tsx
+++ b/src/state/preferences/feed-tuners.tsx
@@ -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,