parent
50440667ed
commit
0f96589c74
1 changed files with 0 additions and 3 deletions
3
util.go
3
util.go
|
|
@ -138,9 +138,6 @@ func getTweetTimeline(ctx context.Context, query string, maxTweetsNbr int, fetch
|
||||||
}
|
}
|
||||||
|
|
||||||
if tweetsNbr < maxTweetsNbr {
|
if tweetsNbr < maxTweetsNbr {
|
||||||
if tweet.IsPin && nextCursor != "" {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
nextCursor = next
|
nextCursor = next
|
||||||
channel <- &TweetResult{Tweet: *tweet}
|
channel <- &TweetResult{Tweet: *tweet}
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue