mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Message.send - check for missing identityKey, also add logging
FREEBIE
This commit is contained in:
@@ -176,9 +176,7 @@ OutgoingMessage.prototype = {
|
||||
} else if (error.message === "Identity key changed") {
|
||||
error.timestamp = this.timestamp;
|
||||
error.originalMessage = this.message.toArrayBuffer();
|
||||
// looks like this is an error - we don't have the identity key in this situation!
|
||||
// but we need it to update the identity key when we get a OutgoingIdentityKeyError
|
||||
// error.identityKey = ????;
|
||||
console.log('Got "key changed" error from encrypt - no identityKey for application layer', number, deviceIds)
|
||||
throw error;
|
||||
} else {
|
||||
this.registerError(number, "Failed to create or send message", error);
|
||||
|
||||
Reference in New Issue
Block a user