Browse Source

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

Zed 7 năm trước cách đây
mục cha
commit
f235677024
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/parser.nim

+ 1 - 1
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
   )