From 1ab5af338a8acfe4c26ac7cc55e08aaf62c998a8 Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 20 Jul 2015 11:36:05 -0700 Subject: [PATCH] Update libaxolotl, un-revert b790f828491681c8a5 Accidentally reverted in d3c158f --- js/libtextsecure.js | 2 +- libtextsecure/libaxolotl.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 707cb08a6..e56c84ad3 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -37278,7 +37278,7 @@ window.axolotl.protocol = function(storage_interface) { closeSession(open_session); // To be returned and saved later } else { // ...otherwise create an error that the UI will pick up and ask the user if they want to re-negotiate - throw new textsecure.IncomingIdentityKeyError(encodedNumber, axolotlInternal.utils.convertToString(message.encode())); + throw new Error('Unknown identity key'); } } return initSession(false, preKeyPair, signedPreKeyPair, encodedNumber, axolotlInternal.utils.convertToArrayBuffer(message.identityKey), axolotlInternal.utils.convertToArrayBuffer(message.baseKey), undefined) diff --git a/libtextsecure/libaxolotl.js b/libtextsecure/libaxolotl.js index 757fefdce..73d577598 100644 --- a/libtextsecure/libaxolotl.js +++ b/libtextsecure/libaxolotl.js @@ -37201,7 +37201,7 @@ window.axolotl.protocol = function(storage_interface) { closeSession(open_session); // To be returned and saved later } else { // ...otherwise create an error that the UI will pick up and ask the user if they want to re-negotiate - throw new textsecure.IncomingIdentityKeyError(encodedNumber, axolotlInternal.utils.convertToString(message.encode())); + throw new Error('Unknown identity key'); } } return initSession(false, preKeyPair, signedPreKeyPair, encodedNumber, axolotlInternal.utils.convertToArrayBuffer(message.identityKey), axolotlInternal.utils.convertToArrayBuffer(message.baseKey), undefined)