Add pref to hide pins
This commit is contained in:
@@ -91,6 +91,7 @@ proc renderTimelineTweets*(results: Result[Tweet]; prefs: Prefs; path: string):
|
||||
var retweets: seq[int]
|
||||
for tweet in results.content:
|
||||
if tweet.threadId in threads or tweet.id in retweets: continue
|
||||
if tweet.pinned and prefs.hidePins: continue
|
||||
let thread = results.content.filterIt(threadFilter(it, tweet.threadId))
|
||||
if thread.len < 2:
|
||||
if tweet.retweet.isSome:
|
||||
|
||||
Reference in New Issue
Block a user