Avoid applying outdated UpdateProject methods after rejoining a room
This commit is contained in:
parent
1ccf174388
commit
1159f5517b
2 changed files with 6 additions and 2 deletions
|
@ -1089,8 +1089,10 @@ impl Project {
|
|||
pub fn rejoined(
|
||||
&mut self,
|
||||
message: proto::RejoinedProject,
|
||||
message_id: u32,
|
||||
cx: &mut ModelContext<Self>,
|
||||
) -> Result<()> {
|
||||
self.join_project_response_message_id = message_id;
|
||||
self.set_worktrees_from_proto(message.worktrees, cx)?;
|
||||
self.set_collaborators_from_proto(message.collaborators, cx)?;
|
||||
self.language_server_statuses = message
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue