Reorder timeline tweets according to their threads

This commit is contained in:
Zed
2019-07-04 14:54:15 +02:00
parent 83931e7044
commit 344d3cd57f
5 changed files with 29 additions and 6 deletions

View File

@@ -62,6 +62,7 @@ proc parseTweet*(node: XmlNode): Tweet =
result = Tweet(
id: tweet.attr("data-item-id"),
threadId: tweet.attr("data-conversation-id"),
text: getTweetText(tweet),
time: getTimestamp(tweet),
shortTime: getShortTime(tweet),