소스 검색

Fix retweet deduplication

Zed 6 년 전
부모
커밋
2a3bcaa9aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/timeline.nim

+ 1 - 1
src/views/timeline.nim

@@ -106,7 +106,7 @@ proc renderTimelineTweets*(results: Result[Tweet]; prefs: Prefs; path: string):
       for tweet in results.content:
         let rt = if tweet.retweet.isSome: get(tweet.retweet).id else: 0
 
-        if tweet.id in threads or rt in retweets or
+        if tweet.id in threads or rt in retweets or tweet.id in retweets or
            tweet.pinned and prefs.hidePins: continue
 
         let thread = results.content.threadFilter(threads, tweet)