Преглед изворни кода

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

Zed пре 7 година
родитељ
комит
f235677024
1 измењених фајлова са 1 додато и 1 уклоњено
  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
   )