This commit is contained in:
Kirill Bulatov 2025-08-24 02:11:37 +03:00
parent 25ed82c994
commit cc680d280d

View file

@ -5006,6 +5006,7 @@ impl Workspace {
self.active_call.as_ref().map(|(call, _)| call)
}
#[cfg(feature = "call")]
fn on_active_call_event(
&mut self,
_: &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> {
self.database_id
}