Fix service worker handling for updating/deleting

This commit is contained in:
binwiederhier
2026-01-14 20:46:18 -05:00
parent dd9b36cf0a
commit 96638b516c
7 changed files with 59 additions and 47 deletions

View File

@@ -2,8 +2,9 @@ import api from "./Api";
import notifier from "./Notifier";
import prefs from "./Prefs";
import db from "./db";
import { messageWithSequenceId, topicUrl } from "./utils";
import { EVENT_MESSAGE, EVENT_MESSAGE_DELETE, EVENT_MESSAGE_CLEAR } from "./events";
import { topicUrl } from "./utils";
import { messageWithSequenceId } from "./notificationUtils";
import { EVENT_MESSAGE, EVENT_MESSAGE_CLEAR, EVENT_MESSAGE_DELETE } from "./events";
class SubscriptionManager {
constructor(dbImpl) {