mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-15 08:42:48 -05:00
Use int for tweet ids for correct thread sorting
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user