Fix crashing on failing to parse the 'messageprompt' entry telling you to subscribe to twitter blue
This commit is contained in:
parent
134b17ee79
commit
e09c97a85e
@ -463,6 +463,9 @@ func (e APIV2Entry) ToTweetTrove() TweetTrove {
|
||||
// TODO: user feed tombstone entries
|
||||
return NewTweetTrove()
|
||||
}
|
||||
if strings.Split(e.EntryID, "-")[0] == "messageprompt" {
|
||||
return NewTweetTrove()
|
||||
}
|
||||
ret, err := e.Content.ItemContent.TweetResults.ToTweetTrove()
|
||||
|
||||
// Handle tombstones in parent reply thread
|
||||
|
Loading…
x
Reference in New Issue
Block a user