mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-12 11:06:30 +00:00
Fix retweet deduplication
This commit is contained in:
parent
0a8cf7e161
commit
2a3bcaa9aa
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ proc renderTimelineTweets*(results: Result[Tweet]; prefs: Prefs; path: string):
|
||||||
for tweet in results.content:
|
for tweet in results.content:
|
||||||
let rt = if tweet.retweet.isSome: get(tweet.retweet).id else: 0
|
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
|
tweet.pinned and prefs.hidePins: continue
|
||||||
|
|
||||||
let thread = results.content.threadFilter(threads, tweet)
|
let thread = results.content.threadFilter(threads, tweet)
|
||||||
|
|
Loading…
Reference in a new issue