Hello!
I have a few doubts about Room class
In line 1029 shouldn’'t the rooster list get updated before dispatching the ‘‘userDeparture’’ event?
What about kick events? Right now the Room class parses the room kicks as userDeparture events. I’'ve replaced line 1029 to support them, is this correct?
*if(item.reason != undefined) {
dispatchEvent( {target:this, type:“userKick”, nickname:userNickname, reason:item.reason} );
} else {
dispatchEvent( {target:this, type:“userDeparture”, nickname:userNickname} );
}*
Any suggestions?
Thanks,
Pablo Costantini