Tell project when it has been unshared

Co-Authored-By: Petros Amoiridis <petros@zed.dev>
This commit is contained in:
Julia 2023-01-31 13:31:26 -05:00
parent 99236f1875
commit f68eda97fb

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(