mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Add button to show earlier thread replies
This commit is contained in:
parent
dc56e3ebe2
commit
397471f8f4
3 changed files with 17 additions and 0 deletions
|
|
@ -160,6 +160,11 @@ proc parseConversation*(node: XmlNode; after: string): Conversation =
|
|||
)
|
||||
)
|
||||
|
||||
if result.before != nil:
|
||||
let maxId = node.selectAttr(".in-reply-to .stream-container", "data-max-position")
|
||||
if maxId.len > 0:
|
||||
result.before.more = -1
|
||||
|
||||
let showMore = node.selectAttr(".ThreadedConversation-showMoreThreads button",
|
||||
"data-cursor")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue