mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Use int for tweet ids for correct thread sorting
This commit is contained in:
parent
4407651ed6
commit
1faf976d7c
8 changed files with 23 additions and 23 deletions
|
|
@ -18,7 +18,7 @@ proc createStatusRouter*(cfg: Config) =
|
|||
let prefs = cookiePrefs()
|
||||
|
||||
let conversation = await getTweet(@"name", @"id", @"max_position", getAgent())
|
||||
if conversation == nil or conversation.tweet.id.len == 0:
|
||||
if conversation == nil or conversation.tweet.id == 0:
|
||||
var error = "Tweet not found"
|
||||
if conversation != nil and conversation.tweet.tombstone.len > 0:
|
||||
error = conversation.tweet.tombstone
|
||||
|
|
|
|||
Loading…
Reference in a new issue