Move attachment/websocket [en|de]cryption to libtextsecure
This commit is contained in:
parent
a9617068a2
commit
403ae4376d
7 changed files with 88 additions and 56 deletions
|
@ -137,7 +137,7 @@ var handleAttachment = function(attachment) {
|
|||
}
|
||||
|
||||
function decryptAttachment(encrypted) {
|
||||
return textsecure.protocol.decryptAttachment(
|
||||
return textsecure.crypto.decryptAttachment(
|
||||
encrypted,
|
||||
attachment.key.toArrayBuffer()
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue