mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2026-04-28 18:30:39 +00:00
fix this._isCaller variable typo
This commit is contained in:
@@ -309,7 +309,7 @@ class RTCPeer extends Peer {
|
|||||||
|
|
||||||
_onChannelClosed() {
|
_onChannelClosed() {
|
||||||
console.log('RTC: channel closed', this._peerId);
|
console.log('RTC: channel closed', this._peerId);
|
||||||
if (!this.isCaller) return;
|
if (!this._isCaller) return;
|
||||||
this._connect(this._peerId, true); // reopen the channel
|
this._connect(this._peerId, true); // reopen the channel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user