mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-23 08:16:19 -04:00
fix this._isCaller variable typo
This commit is contained in:
parent
cc9c2bf088
commit
d101f90ea2
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue