1
0
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:
Zed
2019-06-25 07:36:36 +02:00
parent c4d648e952
commit ac8d0e2052
4 changed files with 38 additions and 13 deletions

View File

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