1
0
mirror of https://github.com/zedeus/nitter synced 2024-11-22 01:45:22 +01:00

fixed bug that caused everybody to be displayed as verified (#890)

This commit is contained in:
PrivacyDevel 2023-05-30 21:42:14 +00:00 committed by GitHub
parent f7e878c126
commit 38985af6ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ proc parseGraphUser(js: JsonNode): User =
result = parseUser(user{"legacy"}) result = parseUser(user{"legacy"})
if "is_blue_verified" in user: if "is_blue_verified" in user:
result.verified = true result.verified = user{"is_blue_verified"}.getBool()
proc parseGraphList*(js: JsonNode): List = proc parseGraphList*(js: JsonNode): List =
if js.isNull: return if js.isNull: return