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