We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a594978 commit 0658fd8Copy full SHA for 0658fd8
src/securejoin.rs
@@ -307,15 +307,12 @@ pub(crate) async fn handle_securejoin_handshake(
307
inviter_progress(context, contact_id, 300);
308
309
let from_addr = ContactAddress::new(&mime_message.from.addr)?;
310
- let autocrypt_fingerprint = mime_message
311
- .autocrypt_fingerprint
312
- .clone()
313
- .unwrap_or_default();
+ let autocrypt_fingerprint = mime_message.autocrypt_fingerprint.as_deref().unwrap_or("");
314
let (autocrypt_contact_id, _) = Contact::add_or_lookup_ex(
315
context,
316
"",
317
&from_addr,
318
- &autocrypt_fingerprint,
+ autocrypt_fingerprint,
319
Origin::IncomingUnknownFrom,
320
)
321
.await?;
0 commit comments