Fix up websocket options handling
This commit is contained in:
@@ -38409,7 +38409,10 @@ axolotlInternal.RecipientRecord = function() {
|
||||
TextSecureWebSocket = function (url, opts) {
|
||||
'use strict';
|
||||
opts = opts || {};
|
||||
var reconnectTimeout = opts.reconnectTimeout || 1000;
|
||||
var reconnectTimeout = 1000;
|
||||
if (opts && opts.reconnectTimeout !== undefined) {
|
||||
reconnectTimeout = opts.reconnectTimeout;
|
||||
}
|
||||
var reconnectSemaphore = 0;
|
||||
var socket;
|
||||
var calledClose = false;
|
||||
|
Reference in New Issue
Block a user