From 7b84154e3f9c04e751d895b3e40caf80ea77f7a4 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Wed, 9 Nov 2022 01:44:17 +0100 Subject: [PATCH] fix this._isCaller variable typo --- client/scripts/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/network.js b/client/scripts/network.js index 7108232..d4ed0d9 100644 --- a/client/scripts/network.js +++ b/client/scripts/network.js @@ -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 }