diff --git a/crates/call/src/call.rs b/crates/call/src/call.rs index 5af094df05977c4e72cd36b98445588686f4e896..5886462ccf809b9b8c2f2b6d9c5e9ab4b63a2636 100644 --- a/crates/call/src/call.rs +++ b/crates/call/src/call.rs @@ -403,7 +403,7 @@ impl ActiveCall { &self.pending_invites } - fn report_call_event(&self, operation: &'static str, cx: &AppContext) { + pub fn report_call_event(&self, operation: &'static str, cx: &AppContext) { if let Some(room) = self.room() { let room = room.read(cx); Self::report_call_event_for_room( diff --git a/crates/collab_ui/src/collab_panel.rs b/crates/collab_ui/src/collab_panel.rs index daaa4839757943317bff182778d5c0cf3345b318..d27cdc8acf2ecff91743b70487ad8ca177c1b218 100644 --- a/crates/collab_ui/src/collab_panel.rs +++ b/crates/collab_ui/src/collab_panel.rs @@ -2249,6 +2249,9 @@ impl CollabPanel { anyhow::Ok(()) }) .detach(); + ActiveCall::global(cx).update(cx, |call, cx| { + call.report_call_event("open channel notes", cx) + }); } }