mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 18:05:29 +00:00
Fix multi-timeline infinite scroll
This commit is contained in:
parent
59a72831c7
commit
39192bf191
|
@ -137,7 +137,7 @@ proc createTimelineRouter*(cfg: Config) =
|
||||||
# used for the infinite scroll feature
|
# used for the infinite scroll feature
|
||||||
if @"scroll".len > 0:
|
if @"scroll".len > 0:
|
||||||
if query.fromUser.len != 1:
|
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
|
if timeline.content.len == 0: resp Http404
|
||||||
timeline.beginning = true
|
timeline.beginning = true
|
||||||
resp $renderTweetSearch(timeline, prefs, getPath())
|
resp $renderTweetSearch(timeline, prefs, getPath())
|
||||||
|
|
Loading…
Reference in a new issue