fix this._isCaller variable typo

This commit is contained in:
schlagmichdoch 2022-11-09 01:44:17 +01:00
parent add1304e70
commit 7b84154e3f

View file

@ -309,7 +309,7 @@ class RTCPeer extends Peer {
_onChannelClosed() {
console.log('RTC: channel closed', this._peerId);
if (!this.isCaller) return;
if (!this._isCaller) return;
this._connect(this._peerId, true); // reopen the channel
}