Browse Source
Update ProfileFetcher.java
renovate/org.robolectric-robolectric-4.x
Austin Huang
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/asyncs/ProfileFetcher.java
|
|
@ -48,7 +48,7 @@ public final class ProfileFetcher extends AsyncTask<Void, Void, ProfileModel> { |
|
|
|
final JSONObject timelineMedia = user.getJSONObject("edge_owner_to_timeline_media"); |
|
|
|
if (timelineMedia.has("edges")) { |
|
|
|
final JSONArray edges = timelineMedia.getJSONArray("edges"); |
|
|
|
if (edges.length() > 0 || timelineMedia.getLong("count") == 0L) reallyPrivate = false; |
|
|
|
if (edges.length() > 0 && timelineMedia.getLong("count") > 0L) reallyPrivate = false; |
|
|
|
} |
|
|
|
|
|
|
|
String url = user.optString("external_url"); |
|
|
|