commit missed changes
This commit is contained in:
parent
ea80af9243
commit
57511f26d9
3 changed files with 4 additions and 13 deletions
|
|
@ -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') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue