Rename textsecure.api and make it internal-only

This commit is contained in:
lilia 2015-04-30 14:10:04 -07:00
parent 45a61780af
commit 9e7d8c0a08
7 changed files with 24 additions and 28 deletions

View file

@ -30,7 +30,7 @@
constructor: MessageReceiver,
connect: function() {
// initialize the socket and start listening for messages
this.socket = textsecure.api.getMessageWebsocket();
this.socket = TextSecureServer.getMessageWebsocket();
var eventTarget = this.target;
new WebSocketResource(this.socket, function(request) {