Compare commits
No commits in common. "96ce46d39c442f8e2a895c7a49515cbf621a2b47" and "1f0de7abf485f5e9ecef23f95dbf15d012a3914c" have entirely different histories.
96ce46d39c
...
1f0de7abf4
@ -239,12 +239,6 @@ WHERE day=?
|
||||
.await;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Notification::delete_by_action(
|
||||
db,
|
||||
&format!("remove_user_trip_with_trip_details_id:{}", trip_details_id),
|
||||
)
|
||||
.await;
|
||||
}
|
||||
|
||||
if max_people > 0 && was_already_cancelled {
|
||||
|
@ -77,12 +77,6 @@ WHERE day = ? AND planned_starting_time = ?
|
||||
return;
|
||||
}
|
||||
|
||||
if self.max_people == 0 {
|
||||
// Cox cancelled event, thus it's probably bad weather. Don't bother with sending
|
||||
// notifications
|
||||
return;
|
||||
}
|
||||
|
||||
if Trip::find_by_trip_details(db, self.id).await.is_none() {
|
||||
// This trip_details belongs to a planned_event, no need to do anything
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user