Rename participants to guests in proto
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
1bd6cd0978
commit
c90dc7235e
+1
-4
@@ -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();
|
||||
|
||||
@@ -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(),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user