Fix pinned "TweetPreviewDisplay" crash
This commit is contained in:
parent
2254a0728c
commit
774063fb5a
1 changed files with 1 additions and 1 deletions
|
@ -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