Tell project when it has been unshared

Co-Authored-By: Petros Amoiridis <petros@zed.dev>
This commit is contained in:
JuliaandPetros Amoiridis committed 2023-02-22 11:21:23 -05:00
1 parent 99236f1875
commit f68eda97fb
1 file changed
+2 -1
+2 -1
View File
@@ -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(