forked from j62/ctbrec
Set isOnline to false, of the model is not online
This commit is contained in:
parent
715b312774
commit
6c6fadd742
|
@ -61,6 +61,8 @@ public class BongaCamsModel extends AbstractModel {
|
|||
JSONObject roomData = getRoomData();
|
||||
String showType = roomData.getJSONObject("performerData").optString("showType");
|
||||
online = Objects.equal(showType, "public") && isStreamAvailable();
|
||||
} else {
|
||||
online = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue