mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
Add operation for opening channel notes in channel based calls
This commit is contained in:
parent
49af2874bb
commit
653d4976cd
@ -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(
|
||||
|
@ -2249,6 +2249,9 @@ impl CollabPanel {
|
||||
anyhow::Ok(())
|
||||
})
|
||||
.detach();
|
||||
ActiveCall::global(cx).update(cx, |call, cx| {
|
||||
call.report_call_event("open channel notes", cx)
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user