mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use "max_position" instead of "after" for compat
This commit is contained in:
parent
381a8a106c
commit
211b086f4d
10 changed files with 17 additions and 40 deletions
|
|
@ -17,7 +17,7 @@ proc createStatusRouter*(cfg: Config) =
|
|||
cond '.' notin @"name"
|
||||
let prefs = cookiePrefs()
|
||||
|
||||
let conversation = await getTweet(@"name", @"id", @"after", getAgent())
|
||||
let conversation = await getTweet(@"name", @"id", @"max_position", getAgent())
|
||||
if conversation == nil or conversation.tweet.id.len == 0:
|
||||
var error = "Tweet not found"
|
||||
if conversation != nil and conversation.tweet.tombstone.len > 0:
|
||||
|
|
|
|||
Loading…
Reference in a new issue