mirror of
https://github.com/zedeus/nitter
synced 2026-09-05 22:59:31 +00:00
Use old api to optimize photo rails
This commit is contained in:
parent
7e40af5611
commit
77da2e32c6
7 changed files with 38 additions and 41 deletions
|
|
@ -46,7 +46,7 @@ proc fetchSingleTimeline*(after: string; query: Query; skipRail=false):
|
|||
rail = newFuture[PhotoRail]()
|
||||
rail.complete(@[])
|
||||
else:
|
||||
rail = getCachedPhotoRail(profileId)
|
||||
rail = getCachedPhotoRail(name)
|
||||
|
||||
var timeline =
|
||||
case query.kind
|
||||
|
|
|
|||
Loading…
Reference in a new issue