Update libaxolotl
// FREEBIE
This commit is contained in:
parent
84235ef58e
commit
2128ee63aa
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue