mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 06:56:29 +03:00
api: add has_video attribute to incoming call events
This allows UI to show if incoming call is a video or audio call and disable camera by default for audio calls.
This commit is contained in:
@@ -386,6 +386,8 @@ pub enum EventType {
|
||||
msg_id: MsgId,
|
||||
/// User-defined info as passed to place_outgoing_call()
|
||||
place_call_info: String,
|
||||
/// True if incoming call is a video call.
|
||||
has_video: bool,
|
||||
},
|
||||
|
||||
/// Incoming call accepted.
|
||||
|
||||
Reference in New Issue
Block a user