Add broadcast lists to chattypes

This commit is contained in:
flipsimon
2022-07-15 12:54:57 +02:00
parent 9926804f1b
commit d09a5adb03
5 changed files with 372 additions and 12 deletions

View File

@@ -79,6 +79,10 @@ export class Chat {
return this.getType() === C.DC_CHAT_TYPE_GROUP
}
isBroadcast(): boolean {
return this.getType() === C.DC_CHAT_TYPE_BROADCAST
}
isMuted(): boolean {
return Boolean(binding.dcn_chat_is_muted(this.dc_chat))
}