Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove non-existent call event types (#21093)

Joseph T. Lyons43f0ea759ba6
diff --git a/crates/collab/src/api/events.rs b/crates/collab/src/api/events.rs
index 11137cb4e96..95bd2a89b23 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),
};