Fix search cursor
This commit is contained in:
parent
0533b6e909
commit
9a85dfa062
4 changed files with 36 additions and 3 deletions
3
util.go
3
util.go
|
|
@ -225,6 +225,9 @@ func parseTimeline(timeline *timeline) ([]*Tweet, string) {
|
|||
cursor = entry.Content.Operation.Cursor.Value
|
||||
}
|
||||
}
|
||||
if instruction.ReplaceEntry.Entry.Content.Operation.Cursor.CursorType == "Bottom" {
|
||||
cursor = instruction.ReplaceEntry.Entry.Content.Operation.Cursor.Value
|
||||
}
|
||||
}
|
||||
if pinnedTweet != nil && len(orderedTweets) > 0 {
|
||||
orderedTweets = append([]*Tweet{pinnedTweet}, orderedTweets...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue