Rename textsecure.websocket and make it internal-only

This commit is contained in:
lilia 2015-04-30 14:29:10 -07:00
parent 89c24cd2fa
commit da34b8e0f8
4 changed files with 246 additions and 252 deletions

View file

@ -333,7 +333,7 @@ window.textsecure.api = function () {
var password = textsecure.storage.get("password");
var params = 'login=%2B' + encodeURIComponent(user.substring(1)) + '&password=' + encodeURIComponent(password);
}
return window.textsecure.websocket(URL+params)
return TextSecureWebSocket(URL+params)
}
self.getMessageWebsocket = function() {