Explorar o código

And another one

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

+ 2 - 1
src/parser.nim

@@ -301,7 +301,8 @@ proc parseGlobalObjects(js: JsonNode): GlobalObjects =
 
 proc parseStatus*(js: JsonNode): Tweet =
   with e, js{"errors"}:
-    if e.getError in {tweetNotFound, tweetUnavailable, tweetCensored, doesntExist, tweetNotAuthorized}:
+    if e.getError in {tweetNotFound, tweetUnavailable, tweetCensored, doesntExist,
+                      tweetNotAuthorized, suspended}:
       return
 
   result = parseTweet(js, js{"card"})