Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Do not report rejected sweep predictions to cloud (#44075)
Agus Zubiaga95a553ea9416
diff --git a/crates/zeta/src/zeta.rs b/crates/zeta/src/zeta.rsindex dba90abbc83..33d37d9e3aa 100644--- a/crates/zeta/src/zeta.rs+++ b/crates/zeta/src/zeta.rs@@ -998,6 +998,11 @@ impl Zeta {reason: EditPredictionRejectReason,was_shown: bool,) {+ match self.edit_prediction_model {+ ZetaEditPredictionModel::Zeta1 | ZetaEditPredictionModel::Zeta2 => {}+ ZetaEditPredictionModel::Sweep => return,+ }+self.reject_predictions_tx.unbounded_send(EditPredictionRejection {request_id: prediction_id.to_string(),