Skip to content

Commit

Permalink
Fix pinned "TweetPreviewDisplay" crash
Browse files Browse the repository at this point in the history
  • Loading branch information
zedeus committed May 19, 2023
1 parent 2254a07 commit 774063f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.nim
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ proc parseGraphTweet(js: JsonNode): Tweet =
return Tweet(available: false)

case js{"__typename"}.getStr
of "TweetUnavailable":
of "TweetUnavailable", "TweetPreviewDisplay":
return Tweet(available: false)
of "TweetTombstone":
return Tweet(
Expand Down

0 comments on commit 774063f

Please sign in to comment.