From f68eda97fba2bef9c280c6fe098a636f6dffbef8 Mon Sep 17 00:00:00 2001 From: Julia Date: Tue, 31 Jan 2023 13:31:26 -0500 Subject: [PATCH] Tell project when it has been unshared Co-Authored-By: Petros Amoiridis --- crates/call/src/room.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/call/src/room.rs b/crates/call/src/room.rs index f84341e5dd..9c22298946 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(