feat(core): duplicated calendar subscription notification (#12364)

This commit is contained in:
CatsJuice
2025-05-21 03:04:01 +00:00
parent 14cba1be17
commit 1831d291f1
5 changed files with 30 additions and 1 deletions
@@ -106,6 +106,10 @@ export class CalendarIntegration extends Entity {
}
}
getSubscription(url: string) {
return this.store.getSubscription(url);
}
deleteSubscription(url: string) {
this.store.removeSubscription(url);
}
@@ -99,6 +99,10 @@ export class CalendarStore extends Store {
);
}
getSubscription(url: string) {
return this.getSubscriptionMap()[url];
}
watchSubscriptionCache(url: string) {
return this.cacheStorage.watch<string>(this.getCacheKey(url));
}