Fix quote's "show thread" also shown in parent
This commit is contained in:
parent
388d3987b7
commit
f235677024
|
@ -67,7 +67,7 @@ proc parseTweet*(node: XmlNode): Tweet =
|
||||||
profile: parseTweetProfile(tweet),
|
profile: parseTweetProfile(tweet),
|
||||||
stats: parseTweetStats(tweet),
|
stats: parseTweetStats(tweet),
|
||||||
reply: parseTweetReply(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"),
|
pinned: "pinned" in tweet.attr("class"),
|
||||||
available: true
|
available: true
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue