fix silenced users being hidden from their followers

This commit is contained in:
Hazelnoot 2025-07-26 20:26:33 -04:00
parent a42edb0324
commit 2be12dfe64

View file

@ -648,7 +648,7 @@ export class NoteEntityService implements OnModuleInit {
if (note.userId === meId) return false;
if (meId) {
const followings = opts._hint_?.userFollowings ?? await this.cacheService.userFollowingsCache.fetch(meId);
const followings = opts._hint_?.userFollowings.get(meId) ?? await this.cacheService.userFollowingsCache.fetch(meId);
if (followings.has(note.userId)) return false;
}