aboutsummaryrefslogtreecommitdiffstats
path: root/src/reminder.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2020-12-01 08:02:09 +0100
committerGustav Sörnäs <gustav@sornas.net>2020-12-01 08:02:09 +0100
commita2076bc460040f64e47ab884af058b49ebcae622 (patch)
treeca69ddcf5ff33e3978fe8e44e5d96dadab64770d /src/reminder.rs
parentd4e6afa7961866348bc602c099e8c290db677320 (diff)
downloadkodapa-main.tar.gz
fix bad mergemain
Diffstat (limited to 'src/reminder.rs')
-rw-r--r--src/reminder.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reminder.rs b/src/reminder.rs
index 2dc6eb0..fd05351 100644
--- a/src/reminder.rs
+++ b/src/reminder.rs
@@ -43,7 +43,7 @@ pub async fn handle(sender: watch::Sender<ReminderType>) {
match reminder.reminder_type {
ReminderType::OneHour => {
if in_remind_zone(now, next) && !in_remind_zone(reminder.last_fire, next) {
- sender.broadcast(ReminderType::OneHour).unwrap();
+ sender.send(ReminderType::OneHour).unwrap();
reminder.last_fire = now;
}
}