mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Fix search repeating when the end has been reached
This commit is contained in:
parent
b0773dd934
commit
2898efab6b
4 changed files with 65 additions and 54 deletions
|
|
@ -27,7 +27,7 @@ proc createStatusRouter*(cfg: Config) =
|
|||
if @"scroll".len > 0:
|
||||
let replies = await getReplies(id, getCursor())
|
||||
if replies.content.len == 0:
|
||||
resp Http404, ""
|
||||
resp Http204
|
||||
resp $renderReplies(replies, prefs, getPath())
|
||||
|
||||
let conv = await getTweet(id, getCursor())
|
||||
|
|
|
|||
Loading…
Reference in a new issue