fix list and instance caching, manage all CacheService caches, and fix list "with replies" setting

This commit is contained in:
Hazelnoot 2025-10-01 12:14:51 -04:00
parent bb0925224d
commit 2daf5c16ec
15 changed files with 466 additions and 386 deletions

View file

@ -139,7 +139,7 @@ export class NotificationService implements OnApplicationShutdown {
return null;
}
} else if (recieveConfig?.type === 'list') {
const isMember = await this.userListService.membersCache.fetch(recieveConfig.userListId).then(members => members.has(notifierId));
const isMember = await this.cacheService.listUserMembershipsCache.fetch(recieveConfig.userListId).then(members => members.has(notifierId));
if (!isMember) {
return null;
}