fix silenced users being hidden from their followers
This commit is contained in:
parent
a42edb0324
commit
2be12dfe64
1 changed files with 1 additions and 1 deletions
|
|
@ -648,7 +648,7 @@ export class NoteEntityService implements OnModuleInit {
|
||||||
if (note.userId === meId) return false;
|
if (note.userId === meId) return false;
|
||||||
|
|
||||||
if (meId) {
|
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;
|
if (followings.has(note.userId)) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue