mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Move attachment/websocket [en|de]cryption to libtextsecure
This commit is contained in:
@@ -137,7 +137,7 @@ var handleAttachment = function(attachment) {
|
||||
}
|
||||
|
||||
function decryptAttachment(encrypted) {
|
||||
return textsecure.protocol.decryptAttachment(
|
||||
return textsecure.crypto.decryptAttachment(
|
||||
encrypted,
|
||||
attachment.key.toArrayBuffer()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user