Use old api to optimize photo rails

This commit is contained in:
Zed 2020-06-17 00:20:34 +02:00
commit 77da2e32c6
7 changed files with 38 additions and 41 deletions

View file

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