Skip to content

Commit 9f66b4f

Browse files
committed
disable room check for now
1 parent 9a8b0b4 commit 9f66b4f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

public/js/RoomClient.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,21 @@ class RoomClient {
529529
this.successCallback();
530530
});
531531
} else {
532-
this.checkRoomOwnership();
532+
this.createRoom(this.room_id).then(async () => {
533+
const data = {
534+
room_id: this.room_id,
535+
peer_info: this.peer_info,
536+
};
537+
await this.join(data);
538+
this.initSockets();
539+
this._isConnected = true;
540+
this.successCallback();
541+
});
533542
}
543+
// temporarily comment out since difficult to update
544+
// else {
545+
// this.checkRoomOwnership();
546+
// }
534547
}
535548

536549
async checkRoomOwnership() {

0 commit comments

Comments
 (0)