Move setVerified to conversation queue

This commit is contained in:
Fedor Indutny 2023-03-09 15:33:12 -08:00 committed by GitHub
parent 26ae1c8a88
commit 371c73377c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 7 deletions

View file

@ -167,7 +167,7 @@ async function handleServerKeys(
error instanceof LibSignalErrorBase &&
error.code === ErrorCode.UntrustedIdentity
) {
throw new OutgoingIdentityKeyError(identifier);
throw new OutgoingIdentityKeyError(identifier, error);
}
throw error;
}