Merge branch 'fix_is_caller_variable' into add_device_pairing

This commit is contained in:
schlagmichdoch 2022-12-22 20:26:11 +01:00
commit 63c625fc67

View file

@ -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
}