From 43f0ea759ba69e24e9f7df3c8325352aaa226a58 Mon Sep 17 00:00:00 2001 From: "Joseph T. Lyons" Date: Fri, 22 Nov 2024 23:49:53 -0500 Subject: [PATCH] Remove non-existent call event types (#21093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These are not real (from Clickhouse): ``` ┌─operation────────────┬──────c─┐ 1. │ join channel │ 136221 │ 2. │ open channel notes │ 95529 │ 3. │ hang up │ 66264 │ 4. │ disable microphone │ 34116 │ 5. │ enable microphone │ 25090 │ 6. │ enable screen share │ 20751 │ 7. │ invite │ 15827 │ 8. │ share project │ 14580 │ 9. │ accept incoming │ 13708 │ 10. │ disable screen share │ 10440 │ 11. │ unshare project │ 9556 │ 12. │ decline incoming │ 455 │ 13. │ enable camera │ 6 │ 14. │ disable camera │ 4 │ └──────────────────────┴────────┘ ``` Release Notes: - N/A --- crates/collab/src/api/events.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/collab/src/api/events.rs b/crates/collab/src/api/events.rs index 11137cb4e9..95bd2a89b2 100644 --- a/crates/collab/src/api/events.rs +++ b/crates/collab/src/api/events.rs @@ -1420,8 +1420,6 @@ fn for_snowflake( "enable screen share" => "Screen Share Enabled".to_string(), "disable screen share" => "Screen Share Disabled".to_string(), "decline incoming" => "Incoming Call Declined".to_string(), - "enable camera" => "Camera Enabled".to_string(), - "disable camera" => "Camera Disabled".to_string(), _ => format!("Unknown Call Event: {}", e.operation), };