Compare commits

..

No commits in common. "9791e7c4a138d24e56083b370c1394ddb027373d" and "b3d6fd46683b01c1a7f10b60e48079e475c4257d" have entirely different histories.

2 changed files with 0 additions and 2 deletions

View File

@ -14,7 +14,6 @@ class Peer extends peer_js_1.default {
} }
async handleChannelOnOpen(m) { async handleChannelOnOpen(m) {
await this._proxy.handleNewPeerChannel(this); await this._proxy.handleNewPeerChannel(this);
this._proxy.emit("peerOpen", this);
} }
} }
exports.default = Peer; exports.default = Peer;

View File

@ -16,6 +16,5 @@ export default class Peer extends BasePeer {
protected async handleChannelOnOpen(m: any): Promise<void> { protected async handleChannelOnOpen(m: any): Promise<void> {
await this._proxy.handleNewPeerChannel(this); await this._proxy.handleNewPeerChannel(this);
this._proxy.emit("peerOpen", this);
} }
} }