Start work on rejoining rooms, supplying all project info at once
Co-authored-by: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
af85db9ea5
commit
70dd586be9
5 changed files with 207 additions and 112 deletions
|
@ -68,6 +68,10 @@ pub fn init(app_state: Arc<AppState>, cx: &mut MutableAppContext) {
|
|||
|
||||
workspace.update(&mut cx, |workspace, cx| {
|
||||
if let Some(room) = ActiveCall::global(cx).read(cx).room().cloned() {
|
||||
room.update(cx, |room, cx| {
|
||||
room.joined_project(workspace.project().clone(), cx);
|
||||
});
|
||||
|
||||
let follow_peer_id = room
|
||||
.read(cx)
|
||||
.remote_participants()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue