Fix pinned "TweetPreviewDisplay" crash

This commit is contained in:
Zed 2023-05-20 00:52:55 +02:00
parent 2254a0728c
commit 774063fb5a

View file

@ -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(