diff --git a/js/crypto.js b/js/crypto.js index 26440c192..5e8472233 100644 --- a/js/crypto.js +++ b/js/crypto.js @@ -121,10 +121,6 @@ window.textsecure.crypto = function() { }); } - crypto_storage.getStoredPubKey = function(keyName) { - return toArrayBuffer(textsecure.storage.getEncrypted("25519Key" + keyName, { pubKey: undefined }).pubKey); - } - crypto_storage.getStoredKeyPair = function(keyName) { var res = textsecure.storage.getEncrypted("25519Key" + keyName); if (res === undefined)