Add support for delayed notification blocking

This commit is contained in:
Jonas Lochmann
2021-12-06 01:00:00 +01:00
parent 6bf6cce720
commit bc80ccc731
8 changed files with 114 additions and 15 deletions
@@ -1,6 +1,6 @@
/*
* server component for the TimeLimit App
* Copyright (C) 2019 - 2020 Jonas Lochmann
* Copyright (C) 2019 - 2021 Jonas Lochmann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -80,7 +80,8 @@ export async function dispatchCreateCategory ({ action, cache, fromChildSelfLimi
taskListVersion: generateVersionId(),
minBatteryCharging: 0,
minBatteryMobile: 0,
flags: '0'
flags: '0',
blockNotificationDelay: '0'
}, { transaction: cache.transaction })
// update the cache