Explorar o código

Fix pinned "TweetPreviewDisplay" crash

Zed %!s(int64=3) %!d(string=hai) anos
pai
achega
774063fb5a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/parser.nim

+ 1 - 1
src/parser.nim

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