Do not report rejected sweep predictions to cloud (#44075)

Release Notes:

- N/A

Co-authored-by: MrSubidubi <dev@bahn.sh>
This commit is contained in:
Agus Zubiaga
2025-12-03 14:26:40 +00:00
committed by GitHub
co-authored by MrSubidubi
parent bf878e9a95
commit 95a553ea94
+5
View File
@@ -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(),