Explorar o código

Fix multi-timeline infinite scroll

Zed %!s(int64=3) %!d(string=hai) anos
pai
achega
39192bf191
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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())