refactor: resultify get_self_fingerprint()

This commit is contained in:
link2xt
2024-10-21 11:46:25 +00:00
parent c5cadd9991
commit aa71fbe04c
2 changed files with 18 additions and 35 deletions

View File

@@ -270,7 +270,7 @@ impl BobState {
context,
"Bob Step 4 - handling {{vc,vg}}-auth-required message."
);
if !encrypted_and_signed(context, mime_message, Some(self.invite.fingerprint())) {
if !encrypted_and_signed(context, mime_message, self.invite.fingerprint()) {
let reason = if mime_message.was_encrypted() {
"Valid signature missing"
} else {