1
0
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:
Zed
2019-10-10 18:22:14 +02:00
parent 4407651ed6
commit 1faf976d7c
8 changed files with 23 additions and 23 deletions

View File

@@ -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