test: make add_or_lookup_contact_id_no_key public

This commit is contained in:
link2xt
2026-03-23 05:28:48 +01:00
committed by l
parent 6b1e62faba
commit e885e052c3

View File

@@ -894,7 +894,7 @@ impl TestContext {
///
/// If the contact does not exist yet, a new contact will be created
/// with the correct fingerprint, but without the public key.
async fn add_or_lookup_contact_id_no_key(&self, other: &TestContext) -> ContactId {
pub async fn add_or_lookup_contact_id_no_key(&self, other: &TestContext) -> ContactId {
let primary_self_addr = other.ctx.get_primary_self_addr().await.unwrap();
let addr = ContactAddress::new(&primary_self_addr).unwrap();
let fingerprint = self_fingerprint(other).await.unwrap();