diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 462c68f0..e6af1190 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -39201,7 +39201,7 @@ TextSecureServer = function () { var password = textsecure.storage.get("password"); var params = 'login=%2B' + encodeURIComponent(user.substring(1)) + '&password=' + encodeURIComponent(password); var url = url + URL_CALLS['push'] + '/?' + params; - return TextSecureWebSocket(url) + return TextSecureWebSocket(url, {reconnectTimeout: false}); } self.getTempWebsocket = function() { diff --git a/libtextsecure/api.js b/libtextsecure/api.js index c861d288..647d0052 100644 --- a/libtextsecure/api.js +++ b/libtextsecure/api.js @@ -312,7 +312,7 @@ TextSecureServer = function () { var password = textsecure.storage.get("password"); var params = 'login=%2B' + encodeURIComponent(user.substring(1)) + '&password=' + encodeURIComponent(password); var url = url + URL_CALLS['push'] + '/?' + params; - return TextSecureWebSocket(url) + return TextSecureWebSocket(url, {reconnectTimeout: false}); } self.getTempWebsocket = function() {