Move setVerified to conversation queue
This commit is contained in:
parent
26ae1c8a88
commit
371c73377c
4 changed files with 16 additions and 7 deletions
|
@ -627,7 +627,7 @@ export default class OutgoingMessage {
|
|||
error instanceof LibSignalErrorBase &&
|
||||
error.code === ErrorCode.UntrustedIdentity
|
||||
) {
|
||||
newError = new OutgoingIdentityKeyError(identifier);
|
||||
newError = new OutgoingIdentityKeyError(identifier, error);
|
||||
log.error(
|
||||
'Got "key changed" error from encrypt - no identityKey for application layer',
|
||||
identifier,
|
||||
|
@ -736,7 +736,7 @@ export default class OutgoingMessage {
|
|||
error instanceof LibSignalErrorBase &&
|
||||
error.code === ErrorCode.UntrustedIdentity
|
||||
) {
|
||||
const newError = new OutgoingIdentityKeyError(identifier);
|
||||
const newError = new OutgoingIdentityKeyError(identifier, error);
|
||||
this.registerError(identifier, 'Untrusted identity', newError);
|
||||
} else {
|
||||
this.registerError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue