Don't auto-reconnect provisioning socket

// FREEBIE
This commit is contained in:
lilia 2015-07-27 12:49:31 -07:00
parent 15cd348bf2
commit 0d0bdbf998
3 changed files with 10 additions and 8 deletions

View file

@ -329,7 +329,7 @@ TextSecureServer = function () {
self.getTempWebsocket = function() {
var url = URL_BASE.replace(/^http/g, 'ws') + URL_CALLS['temp_push'] + '/?';
return TextSecureWebSocket(url);
return TextSecureWebSocket(url, {reconnectTimeout: false});
}
return self;