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 New Issue