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:
co-authored by
MrSubidubi
parent
bf878e9a95
commit
95a553ea94
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user