Fix quote's "show thread" also shown in parent

This commit is contained in:
Zed 2019-07-03 12:27:18 +02:00
parent 388d3987b7
commit f235677024

View file

@ -67,7 +67,7 @@ proc parseTweet*(node: XmlNode): Tweet =
profile: parseTweetProfile(tweet),
stats: parseTweetStats(tweet),
reply: parseTweetReply(tweet),
hasThread: tweet.select(".self-thread-context") != nil,
hasThread: tweet.select(".content > .self-thread-context") != nil,
pinned: "pinned" in tweet.attr("class"),
available: true
)