diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs index 044601df97..2a2e674af5 100644 --- a/crates/workspace/src/workspace.rs +++ b/crates/workspace/src/workspace.rs @@ -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, @@ -5022,6 +5023,16 @@ impl Workspace { } } + #[cfg(not(feature = "call"))] + fn on_active_call_event( + &mut self, + _: &Entity, + _: &call::room::Event, + _: &mut Window, + _: &mut Context, + ) { + } + pub fn database_id(&self) -> Option { self.database_id }