From b79edc433805df272bfac62ee32ac1a78286b9f3 Mon Sep 17 00:00:00 2001
From: Vika <vika@fireburn.ru>
Date: Sat, 4 Oct 2025 00:06:45 +0300
Subject: Auto-like what you repost per commonly accepted etiquette

---
 src/components/PostControls/index.tsx | 11 +++++++++++
 1 file changed, 11 insertions(+)

(limited to 'src/components/PostControls/index.tsx')

diff --git a/src/components/PostControls/index.tsx b/src/components/PostControls/index.tsx
index f91bcd8a5..73c78763e 100644
--- a/src/components/PostControls/index.tsx
+++ b/src/components/PostControls/index.tsx
@@ -148,6 +148,17 @@ let PostControls = ({
           reqId,
         })
         await queueRepost()
+        setHasLikeIconBeenToggled(true)
+        if (!post.viewer?.like) {
+          sendInteraction({
+            item: post.uri,
+            event: 'app.bsky.feed.defs#interactionLike',
+            feedContext,
+            reqId,
+          })
+          captureAction(ProgressGuideAction.Like)
+          await queueLike()
+        }
       } else {
         await queueUnrepost()
       }
-- 
cgit 1.4.1

