mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 00:48:19 +01:00
Fix key change errors while retrying key change errors
This commit is contained in:
@@ -38358,9 +38358,10 @@ MessageReceiver.prototype.extend({
|
||||
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
|
||||
var buffer = dcodeIO.ByteBuffer.wrap(ciphertext);
|
||||
throw new textsecure.IncomingIdentityKeyError(
|
||||
address.toString(),
|
||||
ciphertext.toArrayBuffer(),
|
||||
buffer.toArrayBuffer(),
|
||||
e.identityKey
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user