Skip to content

Commit

Permalink
Correct mistake in rooms/04-create-or-join-room.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyBazhaykin committed Oct 26, 2018
1 parent 7432849 commit 580e87b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rooms/04-create-or-join-room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ export class CreateOrJoinRoom extends Room<any> {
maxClients = 4;

onInit (options) {
console.log("JOINING ROOM");
console.log("CREATING NEW ROOM");
}

onJoin (client, options, auth) {
console.log("CREATING NEW ROOM");
console.log("JOINING ROOM");
}

requestJoin (options, isNewRoom: boolean) {
Expand Down

0 comments on commit 580e87b

Please sign in to comment.