mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 23:15:33 +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)
|
return Tweet(available: false)
|
||||||
|
|
||||||
case js{"__typename"}.getStr
|
case js{"__typename"}.getStr
|
||||||
of "TweetUnavailable":
|
of "TweetUnavailable", "TweetPreviewDisplay":
|
||||||
return Tweet(available: false)
|
return Tweet(available: false)
|
||||||
of "TweetTombstone":
|
of "TweetTombstone":
|
||||||
return Tweet(
|
return Tweet(
|
||||||
|
|
Loading…
Reference in a new issue