1
0
mirror of https://github.com/zedeus/nitter.git synced 2026-01-29 06:42:50 -05:00

Use int for tweet ids for correct thread sorting

This commit is contained in:
Zed
2019-10-10 18:22:14 +02:00
parent 4407651ed6
commit 1faf976d7c
8 changed files with 23 additions and 23 deletions

View File

@@ -23,8 +23,8 @@ proc getListTimeline*(username, list, agent, after: string): Future[Timeline] {.
let last = result.content[^1]
result.minId =
if last.retweet.isNone: last.id
else: get(last.retweet).id
if last.retweet.isNone: $last.id
else: $(get(last.retweet).id)
proc getListMembers*(username, list, agent: string): Future[Result[Profile]] {.async.} =
let