mirror of
https://github.com/chatmail/core.git
synced 2026-04-28 19:06:35 +03:00
Add broadcast lists to chattypes
This commit is contained in:
@@ -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))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user