Prevent annoying warnings on devel
This commit is contained in:
parent
33bad37128
commit
006b91c903
1 changed files with 2 additions and 0 deletions
|
@ -323,6 +323,8 @@ proc parseGraphTweet(js: JsonNode; isLegacy=false): Tweet =
|
||||||
return Tweet(text: "You're unable to view this Tweet because it's only available to the Subscribers of the account owner.")
|
return Tweet(text: "You're unable to view this Tweet because it's only available to the Subscribers of the account owner.")
|
||||||
of "TweetWithVisibilityResults":
|
of "TweetWithVisibilityResults":
|
||||||
return parseGraphTweet(js{"tweet"}, isLegacy)
|
return parseGraphTweet(js{"tweet"}, isLegacy)
|
||||||
|
else:
|
||||||
|
discard
|
||||||
|
|
||||||
if not js.hasKey("legacy"):
|
if not js.hasKey("legacy"):
|
||||||
return Tweet()
|
return Tweet()
|
||||||
|
|
Loading…
Reference in a new issue