Sfoglia il codice sorgente

Fix pinned "TweetPreviewDisplay" crash

Zed 3 anni fa
parent
commit
774063fb5a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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(