Repository navigation
Don't send a reminder immediately when the booking is made after its hours_before mark
#266
Replies: 1 comment 1 reply
|
Agreed, and I would fix it as the default rather than add a setting. Confirming the mechanism: Sending an already-late reminder is never the right answer, so the behaviour should be to skip it. No setting, no opt-in. Two details. Use a small grace window rather than a hard Apply it in The PR is welcome, and a test that asserts the 24-hour reminder is absent for a booking made inside its window would be the one to keep. |
Uh oh!
There was an error while loading. Please reload this page.
enqueueReminder(and the reschedule path inreplaceReminderJobs) clamps a pastrun_attonow, so a booking made 5 hours ahead with reminders[24, 2]gets the "24 hours before" reminder straight away, right next to the confirmation email. For the attendee that reads as a duplicate, and the reminder text ("tomorrow…") can be wrong.All reactions