From 2128ee63aafff4d35edff419bb06355c94e42c2c Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 14 Mar 2016 11:28:53 -0700 Subject: [PATCH] Update libaxolotl // FREEBIE --- 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 3daf5e9b..efe293a9 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -34699,7 +34699,7 @@ window.axolotl.protocol = function(storage_interface) { // We already had a session/known identity key: if (util.isEqual(session.indexInfo.remoteIdentityKey, message.identityKey)) { // If the identity key matches the previous one, close the previous one and use the new one - if (open_session !== undefin) + if (open_session !== undefined) 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 diff --git a/libtextsecure/libaxolotl.js b/libtextsecure/libaxolotl.js index 9848c6d2..426d45ff 100644 --- a/libtextsecure/libaxolotl.js +++ b/libtextsecure/libaxolotl.js @@ -34585,7 +34585,7 @@ window.axolotl.protocol = function(storage_interface) { // We already had a session/known identity key: if (util.isEqual(session.indexInfo.remoteIdentityKey, message.identityKey)) { // If the identity key matches the previous one, close the previous one and use the new one - if (open_session !== undefin) + if (open_session !== undefined) 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