Remove unnecessary UnshareProject message sent to clients leaving a project

This commit is contained in:
Max Brunsfeld 2022-12-20 16:58:19 -08:00
parent bb00134f5f
commit cb8962691a

View file

@ -2234,16 +2234,6 @@ fn project_left(project: &db::LeftProject, session: &Session) {
.trace_err();
}
}
session
.peer
.send(
session.connection_id,
proto::UnshareProject {
project_id: project.id.to_proto(),
},
)
.trace_err();
}
pub trait ResultExt {