Added lastSeen property to ContactObject

This commit is contained in:
flipsimon
2022-08-04 14:40:13 +02:00
parent 091eac2e91
commit 54c30145e5
2 changed files with 3 additions and 0 deletions

View File

@@ -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(),

View File

@@ -104,6 +104,7 @@ export type Contact = {
status: string;
displayName: string;
id: U32;
lastSeen: I64;
name: string;
profileImage: string | null;
nameAndAddr: string;