|
|
@ -38358,9 +38358,10 @@ MessageReceiver.prototype.extend({
|
|
|
|
if (e.message === 'Unknown identity key') {
|
|
|
|
if (e.message === 'Unknown identity key') {
|
|
|
|
// create an error that the UI will pick up and ask the
|
|
|
|
// create an error that the UI will pick up and ask the
|
|
|
|
// user if they want to re-negotiate
|
|
|
|
// user if they want to re-negotiate
|
|
|
|
|
|
|
|
var buffer = dcodeIO.ByteBuffer.wrap(ciphertext);
|
|
|
|
throw new textsecure.IncomingIdentityKeyError(
|
|
|
|
throw new textsecure.IncomingIdentityKeyError(
|
|
|
|
address.toString(),
|
|
|
|
address.toString(),
|
|
|
|
ciphertext.toArrayBuffer(),
|
|
|
|
buffer.toArrayBuffer(),
|
|
|
|
e.identityKey
|
|
|
|
e.identityKey
|
|
|
|
);
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|