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

@ -128,7 +128,7 @@ window.textsecure.utils = function() {
var handleAttachment = function(attachment) {
function getAttachment() {
return textsecure.api.getAttachment(attachment.id.toString());
return TextSecureServer.getAttachment(attachment.id.toString());
}
function decryptAttachment(encrypted) {