Update libaxolotl, handle untrusted identitykey

Previously we had no access to the new untrusted identity
for verification purposes.

// FREEBIE
This commit is contained in:
lilia
2015-07-20 14:13:18 -07:00
parent af48ca9e4b
commit cc303e0802
4 changed files with 16 additions and 10 deletions

View File

@@ -21,7 +21,7 @@
if (e.message === 'Unknown identity key') {
// create an error that the UI will pick up and ask the
// user if they want to re-negotiate
throw new textsecure.IncomingIdentityKeyError(fromAddress, blob);
throw new textsecure.IncomingIdentityKeyError(fromAddress, blob, e.identityKey);
}
throw e;
});