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.

Tell project when it has been unshared

Juliaf68eda97fba2
diff --git a/crates/call/src/room.rs b/crates/call/src/room.rs
index f84341e5dd1..9c22298946d 100644
--- a/crates/call/src/room.rs
+++ b/crates/call/src/room.rs
@@ -803,7 +803,8 @@ impl Room {
None => return Ok(()),
};
- self.client.send(proto::UnshareProject { project_id })
+ self.client.send(proto::UnshareProject { project_id })?;
+ project.update(cx, |this, cx| this.unshare(cx))
}
pub(crate) fn set_location(