Fix multi-timeline infinite scroll

This commit is contained in:
Zed 2023-07-24 10:18:50 +02:00
parent 59a72831c7
commit 39192bf191
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ proc createTimelineRouter*(cfg: Config) =
# used for the infinite scroll feature
if @"scroll".len > 0:
if query.fromUser.len != 1:
var timeline = (await getGraphSearch(query, after)).tweets
var timeline = await getTweetSearch(query, after)
if timeline.content.len == 0: resp Http404
timeline.beginning = true
resp $renderTweetSearch(timeline, prefs, getPath())