mirror of
https://github.com/amark/gun.git
synced 2025-10-14 00:59:35 +00:00
remove redundant option fetch
since options have to be fetched higher anyway... Or rather - this options is outside of knowing gun options
This commit is contained in:
parent
266b18109c
commit
a4425bda24
@ -83,8 +83,6 @@ function Peer (url, options) {
|
||||
this.setMaxListeners(Infinity);
|
||||
|
||||
this.options = options || {};
|
||||
if( !('wsc' in this.options ) ) this.options.wsc = { protocols: null };
|
||||
else if( !('protocols' in this.options.wsc) ) this.options.wsc.protocols = null;
|
||||
|
||||
// Messages sent before the socket is ready.
|
||||
this.deferredMsgs = [];
|
||||
|
Loading…
x
Reference in New Issue
Block a user