Tell project when it has been unshared

Co-Authored-By: Petros Amoiridis <petros@zed.dev>
This commit is contained in:
Julia
2023-02-22 11:21:23 -05:00
co-authored by Petros Amoiridis
parent 99236f1875
commit f68eda97fb
+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(