mirror of
https://github.com/chatmail/core.git
synced 2026-05-15 12:56:30 +03:00
api!: remove contact get_name_n_addr (cffi: dc_contact_get_name_n_addr
and jsonrpc: `Contact.name_and_addr`)
This commit is contained in:
@@ -17,7 +17,6 @@ pub struct ContactObject {
|
||||
id: u32,
|
||||
name: String,
|
||||
profile_image: Option<String>, // BLOBS
|
||||
name_and_addr: String,
|
||||
is_blocked: bool,
|
||||
|
||||
/// Is the contact a key contact.
|
||||
@@ -96,7 +95,6 @@ impl ContactObject {
|
||||
id: contact.id.to_u32(),
|
||||
name: contact.get_name().to_owned(),
|
||||
profile_image, //BLOBS
|
||||
name_and_addr: contact.get_name_n_addr(),
|
||||
is_blocked: contact.is_blocked(),
|
||||
is_key_contact: contact.is_key_contact(),
|
||||
e2ee_avail: contact.e2ee_avail(context).await?,
|
||||
|
||||
Reference in New Issue
Block a user