Ver Fonte

Fix multi-timeline infinite scroll

Zed há 3 anos atrás
pai
commit
39192bf191
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/routes/timeline.nim

+ 1 - 1
src/routes/timeline.nim

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