[tor-commits] [pluggable-transports/snowflake-webext] 04/06: refactor: remove unnecessary property
gitolite role
git at cupani.torproject.org
Thu Nov 10 15:23:20 UTC 2022
This is an automated email from the git hooks/post-receive script.
cohosh pushed a commit to branch main
in repository pluggable-transports/snowflake-webext.
commit 369e06bacaf60b9b897be27336dfa07bade3d3ba
Author: WofWca <wofwca at protonmail.com>
AuthorDate: Wed Nov 9 12:07:49 2022 +0400
refactor: remove unnecessary property
---
proxypair.js | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/proxypair.js b/proxypair.js
index 83e83a2..5d97274 100644
--- a/proxypair.js
+++ b/proxypair.js
@@ -27,7 +27,6 @@ class ProxyPair {
this.relayURL = config.defaultRelayAddr;
this.rateLimit = rateLimit;
this.config = config;
- this.pcConfig = config.pcConfig;
this.id = Util.genSnowflakeID();
this.c2rSchedule = [];
this.r2cSchedule = [];
@@ -37,7 +36,7 @@ class ProxyPair {
/** Prepare a WebRTC PeerConnection and await for an SDP offer. */
begin() {
/** @private */
- this.pc = new RTCPeerConnection(this.pcConfig);
+ this.pc = new RTCPeerConnection(this.config.pcConfig);
// OnDataChannel triggered remotely from the client when connection succeeds.
this.pc.ondatachannel = ({ channel }) => {
dbg('Data Channel established...');
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the tor-commits
mailing list