Inside RoomHandler, OnJoin should be called iff onAuth executed successfully with returning true but i am returning false but still my player able to join my room.
Is something changed in new version or it is a bug? or may be i am understood something wrong.
export class MyRoom extends Room<State>
{
onCreate(options: any) {
}
onAuth(client: Client, options: any) {
return false;
}
onJoin(client: Client, options?: any, auth?: any) {
console.log("client joined ");
}
}