mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-15 19:27:31 +00:00
more fb messenger stuff
This commit is contained in:
parent
6c5a0d539a
commit
ed4095a6ef
@ -257,8 +257,8 @@ public final class ResponseBodyUtils {
|
|||||||
|
|
||||||
final JSONArray users = data.getJSONArray("users");
|
final JSONArray users = data.getJSONArray("users");
|
||||||
final int usersLen = users.length();
|
final int usersLen = users.length();
|
||||||
final JSONArray leftusers = data.getJSONArray("left_users");
|
final JSONArray leftusers = data.optJSONArray("left_users");
|
||||||
final int leftusersLen = leftusers.length();
|
final int leftusersLen = leftusers == null ? 0 : leftusers.length();
|
||||||
final JSONArray admins = data.getJSONArray("admin_user_ids");
|
final JSONArray admins = data.getJSONArray("admin_user_ids");
|
||||||
final int adminsLen = admins.length();
|
final int adminsLen = admins.length();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user