From ea3fe3f5436f97494fbb81978286fb9afde0df38 Mon Sep 17 00:00:00 2001 From: jude Date: Sat, 19 Aug 2023 21:28:05 +0100 Subject: [PATCH] Ensure postman doesn't try to send reminders with no channel --- postman/src/sender.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/postman/src/sender.rs b/postman/src/sender.rs index 08e83e9..096dad9 100644 --- a/postman/src/sender.rs +++ b/postman/src/sender.rs @@ -310,6 +310,7 @@ WHERE reminders WHERE reminders.`utc_time` <= NOW() AND + reminders.`channel_id` NOT NULL AND `status` = 'pending' AND ( reminders.`interval_seconds` IS NOT NULL