zzz
This commit is contained in:
parent
25ed82c994
commit
cc680d280d
1 changed files with 11 additions and 0 deletions
|
@ -5006,6 +5006,7 @@ impl Workspace {
|
||||||
self.active_call.as_ref().map(|(call, _)| call)
|
self.active_call.as_ref().map(|(call, _)| call)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "call")]
|
||||||
fn on_active_call_event(
|
fn on_active_call_event(
|
||||||
&mut self,
|
&mut self,
|
||||||
_: &Entity<ActiveCall>,
|
_: &Entity<ActiveCall>,
|
||||||
|
@ -5022,6 +5023,16 @@ impl Workspace {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(feature = "call"))]
|
||||||
|
fn on_active_call_event(
|
||||||
|
&mut self,
|
||||||
|
_: &Entity<ActiveCall>,
|
||||||
|
_: &call::room::Event,
|
||||||
|
_: &mut Window,
|
||||||
|
_: &mut Context<Self>,
|
||||||
|
) {
|
||||||
|
}
|
||||||
|
|
||||||
pub fn database_id(&self) -> Option<WorkspaceId> {
|
pub fn database_id(&self) -> Option<WorkspaceId> {
|
||||||
self.database_id
|
self.database_id
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue