Update libaxolotl

// FREEBIE
pull/749/head
lilia 9 years ago
parent 84235ef58e
commit 2128ee63aa

@ -34699,7 +34699,7 @@ window.axolotl.protocol = function(storage_interface) {
// We already had a session/known identity key: // We already had a session/known identity key:
if (util.isEqual(session.indexInfo.remoteIdentityKey, message.identityKey)) { 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 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 closeSession(open_session); // To be returned and saved later
} else { } else {
// ...otherwise create an error that the UI will pick up and ask the user if they want to re-negotiate // ...otherwise create an error that the UI will pick up and ask the user if they want to re-negotiate

@ -34585,7 +34585,7 @@ window.axolotl.protocol = function(storage_interface) {
// We already had a session/known identity key: // We already had a session/known identity key:
if (util.isEqual(session.indexInfo.remoteIdentityKey, message.identityKey)) { 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 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 closeSession(open_session); // To be returned and saved later
} else { } else {
// ...otherwise create an error that the UI will pick up and ask the user if they want to re-negotiate // ...otherwise create an error that the UI will pick up and ask the user if they want to re-negotiate

Loading…
Cancel
Save