Closed rougetimelord closed 6 months ago
Feel free to assign this issue to me, I'm working on a fix right now and just wanted an issue number to reference.
Further research notes: the tombstone object can sneak past this check by being embedded as a quoted status. https://github.com/kheina-com/Blue-Blocker/blob/d301118d32d5bef801c47df025dfd54857a95174/src/parsers/instructions.ts#L82-L84 So we have to check in handleTweetObject.
Feel free to assign this issue to me, I'm working on a fix right now and just wanted an issue number to reference.
OK, done.
If the extension gets an API response with
type: TweetTombstone
the object gets passed to handleTweetObject which gracefully fails here: https://github.com/kheina-com/Blue-Blocker/blob/d301118d32d5bef801c47df025dfd54857a95174/src/parsers/instructions.ts#L73The TweetTombstone object looks like this: