From 1df1be2eab5e9aba56521007d08ef8c36f4e2aa7 Mon Sep 17 00:00:00 2001 From: kolaente Date: Sun, 9 Feb 2020 10:48:39 +0100 Subject: [PATCH] Always schedule notification (Caused bugs) --- src/models/task.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/models/task.js b/src/models/task.js index a95009df8..0253f1ab5 100644 --- a/src/models/task.js +++ b/src/models/task.js @@ -160,12 +160,6 @@ export default class TaskModel extends AbstractModel { } async scheduleNotification(date) { - - // Don't need to do anything if the notification date is in the past - if (date < (new Date())) { - return - } - if (!('showTrigger' in Notification.prototype)) { console.debug('This browser does not support triggered notifications') return