Stage 250
This commit is contained in:
parent
6bee146f4a
commit
3e5e77ab64
|
@ -27,7 +27,6 @@ export default class Room extends EventTarget
|
||||||
public name? : string;
|
public name? : string;
|
||||||
public owner? : string;
|
public owner? : string;
|
||||||
public peers : Map<string,Peer> = new Map();
|
public peers : Map<string,Peer> = new Map();
|
||||||
public ifexistsJoin : boolean = false;
|
|
||||||
|
|
||||||
constructor(wsts:MWSE){
|
constructor(wsts:MWSE){
|
||||||
super();
|
super();
|
||||||
|
@ -63,7 +62,7 @@ export default class Room extends EventTarget
|
||||||
});
|
});
|
||||||
if(result.status == 'fail')
|
if(result.status == 'fail')
|
||||||
{
|
{
|
||||||
if(result.message == "ALREADY-EXISTS" && this.ifexistsJoin)
|
if(result.message == "ALREADY-EXISTS" && this.options.ifexistsJoin)
|
||||||
{
|
{
|
||||||
return this.join();
|
return this.join();
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue