diff --git a/src/parser.nim b/src/parser.nim index 3f39c3f..fa877f9 100644 --- a/src/parser.nim +++ b/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"})