mirror of
https://github.com/zedeus/nitter.git
synced 2025-04-15 05:44:08 +00:00
Use Chain.hasMore, not Chain.more
This commit is contained in:
parent
4c67661812
commit
31fdc369f9
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ proc createRssRouter*(cfg: Config) =
|
|||
error = conv.tweet.tombstone
|
||||
resp Http404, showError(error, cfg)
|
||||
|
||||
while conv.after.more != 0:
|
||||
while conv.after.hasMore:
|
||||
let newer_conv = await getTweet($conv.after.content[^1].id)
|
||||
if newer_conv == nil or newer_conv.tweet == nil or newer_conv.tweet.id == 0:
|
||||
break
|
||||
|
|
Loading…
Reference in a new issue