bugfix
This commit is contained in:
parent
b6087ac096
commit
241e8a9cdd
@ -22,7 +22,7 @@ bricks.Signaling = class {
|
|||||||
info:
|
info:
|
||||||
connect_opts:
|
connect_opts:
|
||||||
onclose:
|
onclose:
|
||||||
onpeers
|
onlogin:
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
constructor(opts){
|
constructor(opts){
|
||||||
@ -101,8 +101,8 @@ bricks.Signaling = class {
|
|||||||
d = bricks.extend(d, p);
|
d = bricks.extend(d, p);
|
||||||
this.peers[p.id] = d;
|
this.peers[p.id] = d;
|
||||||
});
|
});
|
||||||
if (this.onpeers){
|
if (this.onlogin){
|
||||||
this.onpeers(this.peers);
|
this.onlogin(this.peers);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user