commit missed changes

This commit is contained in:
Hazelnoot 2025-10-01 12:20:01 -04:00
parent ea80af9243
commit 57511f26d9
3 changed files with 4 additions and 13 deletions

View file

@ -830,12 +830,7 @@ export class NoteEditService implements OnApplicationShutdown {
// eslint-disable-next-line prefer-const
let [followings, userListMemberships] = await Promise.all([
this.cacheService.getNonHibernatedFollowers(user.id),
this.userListMembershipsRepository.find({
where: {
userId: user.id,
},
select: ['userListId', 'userListUserId', 'withReplies'],
}),
this.cacheService.userListMembershipsCache.fetch(user.id).then(ms => ms.values().toArray()),
]);
if (note.visibility === 'followers') {