Fixed scheduling check

This commit is contained in:
phoenix
2025-11-29 13:52:42 -05:00
parent 8dbc5b48e1
commit 213fbf0073
+1 -1
View File
@@ -55,7 +55,7 @@ func (m *MessageSender) Send(msg message.Message, number contact.Contact, sendTi
func isSchedulable(now *time.Time, scheduled *time.Time) (bool) {
early := now.Add(300 * time.Second)
if scheduled.Before(early) && scheduled.After(now) {
if scheduled.After(early) {
return true
} else {
return false