1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 22:57:29 +00:00

more fb messenger stuff

This commit is contained in:
Austin Huang 2020-10-04 10:30:52 -04:00
parent 6c5a0d539a
commit ed4095a6ef
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F

View File

@ -257,8 +257,8 @@ public final class ResponseBodyUtils {
final JSONArray users = data.getJSONArray("users");
final int usersLen = users.length();
final JSONArray leftusers = data.getJSONArray("left_users");
final int leftusersLen = leftusers.length();
final JSONArray leftusers = data.optJSONArray("left_users");
final int leftusersLen = leftusers == null ? 0 : leftusers.length();
final JSONArray admins = data.getJSONArray("admin_user_ids");
final int adminsLen = admins.length();