Show a different message when participant is active on unshared project
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
29c3b81a0a
commit
4504b36c8f
8 changed files with 97 additions and 54 deletions
|
@ -684,7 +684,7 @@ impl Store {
|
|||
.rooms
|
||||
.get_mut(&room_id)
|
||||
.ok_or_else(|| anyhow!("no such room"))?;
|
||||
if let Some(proto::participant_location::Variant::Project(project)) =
|
||||
if let Some(proto::participant_location::Variant::SharedProject(project)) =
|
||||
location.variant.as_ref()
|
||||
{
|
||||
anyhow::ensure!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue