add getMailinglistAddr() to node (#3524)

* add getMailinglistAddr() to node

* set mailinglistAddr in toJson
This commit is contained in:
bjoern
2022-07-26 19:12:28 +02:00
committed by GitHub
parent 88be304b5b
commit ab52f8c55d
3 changed files with 19 additions and 0 deletions

View File

@@ -39,6 +39,10 @@ export class Chat {
return binding.dcn_chat_get_name(this.dc_chat)
}
getMailinglistAddr(): string {
return binding.dcn_chat_get_mailinglist_addr(this.dc_chat)
}
getProfileImage(): string {
return binding.dcn_chat_get_profile_image(this.dc_chat)
}
@@ -92,6 +96,7 @@ export class Chat {
color: this.color,
id: this.getId(),
name: this.getName(),
mailinglistAddr: this.getMailinglistAddr(),
profileImage: this.getProfileImage(),
type: this.getType(),
isSelfTalk: this.isSelfTalk(),