mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-08-20 16:34:22 +02:00
WIP: DIsplay name for the web app
This commit is contained in:
parent
2d26a990a9
commit
4d6c147f24
9 changed files with 108 additions and 15 deletions
web/src/app
|
@ -133,6 +133,12 @@ class SubscriptionManager {
|
|||
});
|
||||
}
|
||||
|
||||
async setDisplayName(subscriptionId, displayName) {
|
||||
await db.subscriptions.update(subscriptionId, {
|
||||
displayName: displayName
|
||||
});
|
||||
}
|
||||
|
||||
async pruneNotifications(thresholdTimestamp) {
|
||||
await db.notifications
|
||||
.where("time").below(thresholdTimestamp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue