I am extending this chat client built using AppWarp Client API and App42 Backend.
After appropriate initializations and setting listeners I am successfully able to fetch all available rooms using _warpclient.getAllRooms();
and its listener:
function onGetAllRoomsDone(rooms) {
console.log(rooms);
for(var i=0; i<rooms.getRoomIds().length; ++i) {
_warpclient.getLiveRoomInfo(rooms.getRoomIds()[i]);
}
}
Problem:
However, rooms.getRoomIds() returns dynamic rooms that are stale (dead / destroyed see: dynamic rooms here). Is there a way to identify these stale rooms?
Attempts:
- I have extensively searched their API reference but haven't found any information on how to achive this.
- I also explored the room objects received in the callbacks
onGetLiveRoomInfoDone
andonGetAllRoomsDone
but it doesn't contain anything relevant. - Their App42 Management Console doesn't provide a list of these rooms or their properties.