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 11:26:40 -03:00 committed by GitHub
parent bf878e9a95
commit 95a553ea94
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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(),