Update libaxolotl
// FREEBIE
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user