mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
add was_seen_recently() (#3560)
* add dc_contact_was_seen_recently() * add wasSeenRecently() to node
This commit is contained in:
@@ -72,6 +72,10 @@ export class Contact {
|
||||
return binding.dcn_contact_get_last_seen(this.dc_contact)
|
||||
}
|
||||
|
||||
wasSeenRecently() {
|
||||
return Boolean(binding.dcn_contact_was_seen_recently(this.dc_contact))
|
||||
}
|
||||
|
||||
getName(): string {
|
||||
return binding.dcn_contact_get_name(this.dc_contact)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user