From f2356770245f4866618a5cbd8d77335005f686d0 Mon Sep 17 00:00:00 2001 From: Zed Date: Wed, 3 Jul 2019 12:27:18 +0200 Subject: [PATCH] Fix quote's "show thread" also shown in parent --- src/parser.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser.nim b/src/parser.nim index cd9274a..f2b51c9 100644 --- a/src/parser.nim +++ b/src/parser.nim @@ -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 )