refactor: rename icon-address-contact to icon-unencrypted

The icon is mainly used to identify unencrypted chats
in the chatlist where encrypted and unencrypted chats are mixed.
It is used for group chats rather than only for 1:1 chats
with address-contacts.
This commit is contained in:
link2xt
2025-08-08 18:36:25 +00:00
committed by l
parent 8df1a01ace
commit 5f254a929f
4 changed files with 7 additions and 5 deletions

View File

@@ -1564,7 +1564,7 @@ impl Contact {
return Ok(Some(chat::get_device_icon(context).await?));
}
if show_fallback_icon && !self.id.is_special() && !self.is_key_contact() {
return Ok(Some(chat::get_address_contact_icon(context).await?));
return Ok(Some(chat::get_unencrypted_icon(context).await?));
}
if let Some(image_rel) = self.param.get(Param::ProfileImage) {
if !image_rel.is_empty() {