Allow sharing projects

Co-authored-by: Nathan <nathan@zed.dev>
This commit is contained in:
Max Brunsfeld 2023-12-04 15:46:32 -08:00
parent 63667ecf6f
commit 2c5603032d
2 changed files with 47 additions and 56 deletions

View file

@ -1199,6 +1199,7 @@ impl CollabPanel {
.on_click(cx.listener(move |this, _, cx| {
this.workspace.update(cx, |workspace, cx| {
let app_state = workspace.app_state().clone();
let call = workspace.call_state();
workspace::join_remote_project(project_id, host_user_id, app_state, cx)
.detach_and_log_err(cx);
});