f-generation/request encryption API

This commit is contained in:
Samuel Elliott
2025-07-22 03:26:17 +01:00
parent e6c97f2924
commit 4889b0d93e
5 changed files with 508 additions and 89 deletions

View File

@@ -320,7 +320,7 @@ class StatusUpdateNotificationSubscriber implements StatusUpdateSubscriber {
constructor(readonly app: App) {
//
}
_cache: StatusUpdateNotificationsCache | null = null;
_cache_updated = false;
_load_cache: Promise<StatusUpdateNotificationsCache> | null = null;
@@ -346,7 +346,7 @@ class StatusUpdateNotificationSubscriber implements StatusUpdateSubscriber {
async onNewStatusUpdate(status_update: StatusUpdateResult[0]) {
if (status_update.notify === StatusUpdateNotify.NO) return;
const cache = await this.getNotificationsCache();
const id = status_update[StatusUpdateIdentifierSymbol];