mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 13:25:28 +00:00
Fix pinned "TweetPreviewDisplay" crash
This commit is contained in:
parent
2254a0728c
commit
774063fb5a
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue