Fix search repeating when the end has been reached

This commit is contained in:
Zed 2026-03-04 11:53:57 +01:00
commit 2898efab6b
4 changed files with 65 additions and 54 deletions

View file

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