Bugfix: Added "deleted" as Notification State if Event deleteDate is set to
This commit is contained in:
@@ -102,8 +102,9 @@ async function events_check_for_notification() {
|
||||
await sendNotification( ev.get_title(), ev.get_body(), notificationOptions );
|
||||
if ( ev.notification == "removed" ) {
|
||||
ev.set_deleted( db );
|
||||
} else {
|
||||
ev.set_notification("done", db);
|
||||
}
|
||||
ev.set_notification("done", db);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user