mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-16 11:47:29 +00:00
Update ProfileFetcher.java
This commit is contained in:
parent
a004bfa9a9
commit
cc9a7f87f9
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user