Update polling

This commit is contained in:
binwiederhier
2026-01-07 09:46:08 -05:00
parent 2dd152df3f
commit bfbe73aea3
2 changed files with 32 additions and 6 deletions

View File

@@ -193,7 +193,7 @@ class SubscriptionManager {
/** Adds notification, or returns false if it already exists */
async addNotification(subscriptionId, notification) {
const exists = await this.db.notifications.get(notification.id);
if (exists) {
if (exists || notification.deleted) {
return false;
}
try {