add was_seen_recently() (#3560)

* add dc_contact_was_seen_recently()

* add wasSeenRecently() to node
This commit is contained in:
bjoern
2022-08-26 19:21:44 +02:00
committed by GitHub
parent 8eb4d9bf08
commit 682ec563c8
6 changed files with 72 additions and 2 deletions

View File

@@ -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)
}