mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Added lastSeen property to ContactObject
This commit is contained in:
@@ -15,6 +15,7 @@ pub struct ContactObject {
|
||||
status: String,
|
||||
display_name: String,
|
||||
id: u32,
|
||||
last_seen: i64,
|
||||
name: String,
|
||||
profile_image: Option<String>, // BLOBS
|
||||
name_and_addr: String,
|
||||
@@ -40,6 +41,7 @@ impl ContactObject {
|
||||
status: contact.get_status().to_owned(),
|
||||
display_name: contact.get_display_name().to_owned(),
|
||||
id: contact.id.to_u32(),
|
||||
last_seen: contact.last_seen(),
|
||||
name: contact.get_name().to_owned(),
|
||||
profile_image, //BLOBS
|
||||
name_and_addr: contact.get_name_n_addr(),
|
||||
|
||||
@@ -104,6 +104,7 @@ export type Contact = {
|
||||
status: string;
|
||||
displayName: string;
|
||||
id: U32;
|
||||
lastSeen: I64;
|
||||
name: string;
|
||||
profileImage: string | null;
|
||||
nameAndAddr: string;
|
||||
|
||||
Reference in New Issue
Block a user