1
0

upd: completely change handling of indexable

This commit is contained in:
Mar0xy
2023-11-17 15:05:58 +01:00
parent 902e5a81f9
commit 55ef4c4d93
12 changed files with 40 additions and 25 deletions
@@ -399,7 +399,7 @@ export class UserEntityService implements OnModuleInit {
}))) : [],
isBot: user.isBot,
isCat: user.isCat,
isIndexable: user.isIndexable,
noindex: user.noindex,
isSilenced: user.isSilenced || this.roleService.getUserPolicies(user.id).then(r => !r.canPublicNote),
speakAsCat: user.speakAsCat ?? false,
approved: user.approved,