Skip to content

Commit 5ac1e10

Browse files
committed
fix: retweets showing by the actual retweeters (oops)
1 parent 2ff63dd commit 5ac1e10

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

twitterv1/post_viewing.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,6 @@ func TranslatePostToTweet(tweet blueskyapi.Post, replyMsgBskyURI string, replyUs
252252
isRetweet := false
253253
bsky_retweet_og_author := tweet.Author
254254

255-
if isRetweet {
256-
tweet.Author = postReason.By
257-
}
258-
259255
// Checking if this tweet is a retweet
260256
if postReason != nil {
261257
// This might contain other things in the future, idk
@@ -290,6 +286,10 @@ func TranslatePostToTweet(tweet blueskyapi.Post, replyMsgBskyURI string, replyUs
290286
return tweet.Record.Text
291287
}()
292288

289+
if isRetweet {
290+
tweet.Author = postReason.By
291+
}
292+
293293
tweetEntities := bridge.Entities{
294294
Hashtags: nil,
295295
Urls: nil,

0 commit comments

Comments
 (0)