Rename participants to guests in proto

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-09-21 18:30:49 +02:00
co-authored by Nathan Sobo
parent 1bd6cd0978
commit c90dc7235e
5 changed files with 10 additions and 13 deletions
+1 -4
View File
@@ -1947,10 +1947,7 @@ mod tests {
.map(|w| {
(
w.root_name.as_str(),
w.participants
.iter()
.map(|p| p.github_login.as_str())
.collect(),
w.guests.iter().map(|p| p.github_login.as_str()).collect(),
)
})
.collect();
+1 -1
View File
@@ -204,7 +204,7 @@ impl Store {
host.worktrees.push(proto::WorktreeMetadata {
root_name: worktree.root_name.clone(),
is_shared: worktree.share().is_ok(),
participants: guests.into_iter().collect(),
guests: guests.into_iter().collect(),
});
}
}