Skip to content

Commit

Permalink
Fix multi-timeline infinite scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed Jul 24, 2023
1 parent 59a7283 commit 39192bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/timeline.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 39192bf

Please sign in to comment.