fix bypassSilence flag
This commit is contained in:
parent
1b4263eba2
commit
c373d814e9
1 changed files with 1 additions and 1 deletions
|
|
@ -543,7 +543,7 @@ export class UserEntityService implements OnModuleInit {
|
|||
let fetchPoliciesPromise: Promise<RolePolicies> | null = null;
|
||||
const fetchPolicies = () => fetchPoliciesPromise ??= this.roleService.getUserPolicies(user);
|
||||
|
||||
const bypassSilence = isMe || (meId && myFollowings ? myFollowings.has(meId) : false);
|
||||
const bypassSilence = isMe || (myFollowings ? myFollowings.has(user.id) : false);
|
||||
|
||||
const packed = {
|
||||
id: user.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue