mirror of
https://github.com/zedeus/nitter.git
synced 2025-12-08 04:55:37 -05:00
Improve timeline support, "no more tweets" message
This commit is contained in:
@@ -78,5 +78,11 @@ type
|
||||
after*: Tweets
|
||||
replies*: seq[Tweets]
|
||||
|
||||
Timeline* = ref object
|
||||
tweets*: Tweets
|
||||
minId*: string
|
||||
maxId*: string
|
||||
hasMore*: bool
|
||||
|
||||
proc contains*(thread: Tweets; tweet: Tweet): bool =
|
||||
thread.anyIt(it.id == tweet.id)
|
||||
|
||||
Reference in New Issue
Block a user