From 96a89b5bdc715d97c4d7d6c54df2897b1caef274 Mon Sep 17 00:00:00 2001 From: link2xt Date: Mon, 9 Oct 2023 05:02:58 +0000 Subject: [PATCH] fix: return verifier contacts regardless of their origin Previously `Origin::AddressBook` was required, resulting in a lot of "Could not lookup contact with address ... which introduced ..." warnings. --- src/contact.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contact.rs b/src/contact.rs index df97daf23..be04523f9 100644 --- a/src/contact.rs +++ b/src/contact.rs @@ -1265,7 +1265,7 @@ impl Contact { return Ok(Some(ContactId::SELF)); } - match Contact::lookup_id_by_addr(context, &verifier_addr, Origin::AddressBook).await? { + match Contact::lookup_id_by_addr(context, &verifier_addr, Origin::Unknown).await? { Some(contact_id) => Ok(Some(contact_id)), None => { let addr = &self.addr;