mirror of
https://github.com/zedeus/nitter
synced 2026-09-06 07:09:31 +00:00
Add search button and fix unset timeline beginning
This commit is contained in:
parent
19659de410
commit
70c42dd05a
6 changed files with 11 additions and 7 deletions
|
|
@ -5,7 +5,7 @@ import ".."/[types, parser, parserutils, formatters, query]
|
|||
import utils, consts, media
|
||||
|
||||
proc finishTimeline*(json: JsonNode; query: Query; after, agent: string): Future[Timeline] {.async.} =
|
||||
if json == nil: return Timeline()
|
||||
if json == nil: return Timeline(beginning: true, query: query)
|
||||
|
||||
result = Timeline(
|
||||
hasMore: json["has_more_items"].to(bool),
|
||||
|
|
|
|||
Loading…
Reference in a new issue