From c5f19f67a9f72eb48a67b2dc0215fc4342f9b922 Mon Sep 17 00:00:00 2001 From: iequidoo Date: Thu, 22 Jan 2026 02:54:27 -0300 Subject: [PATCH] fix: Make self-contact a key-contact even if key isn't generated yet --- src/contact.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contact.rs b/src/contact.rs index d361f9fe1..bdc318cd2 100644 --- a/src/contact.rs +++ b/src/contact.rs @@ -1454,7 +1454,7 @@ WHERE addr=? /// Returns true if the contact is a key-contact. /// Otherwise it is an addresss-contact. pub fn is_key_contact(&self) -> bool { - self.fingerprint.is_some() + self.fingerprint.is_some() || self.id == ContactId::SELF } /// Returns OpenPGP fingerprint of a contact.