Fix JSON parsing for BongaCams

This commit is contained in:
0xboobface 2018-12-13 16:16:46 +01:00
parent 540e8a8466
commit 066cb52106
1 changed files with 0 additions and 1 deletions

View File

@ -58,7 +58,6 @@ public class BongaCamsUpdateService extends PaginatedScheduledService {
JSONObject m = _models.getJSONObject(i);
String name = m.getString("username");
BongaCamsModel model = (BongaCamsModel) bongaCams.createModel(name);
model.setUserId(m.getInt("user_id"));
boolean away = m.optBoolean("is_away");
boolean online = m.optBoolean("online");
model.setOnline(online);