feat: ロールによるメンション、リプライ、引用の制限 (MisskeyIO#478)
This commit is contained in:
parent
ce98a86c89
commit
a9912534fe
10 changed files with 55 additions and 4 deletions
|
@ -393,7 +393,7 @@ export class UserEntityService implements OnModuleInit {
|
|||
bannerBlurhash: user.bannerBlurhash,
|
||||
isLocked: user.isLocked,
|
||||
isSilenced: !policies?.canPublicNote,
|
||||
isLimited: !(policies?.canCreateContent && policies.canUpdateContent && policies.canDeleteContent),
|
||||
isLimited: !(policies?.canCreateContent && policies.canUpdateContent && policies.canDeleteContent && policies.canInitiateConversation),
|
||||
isSuspended: user.isSuspended,
|
||||
description: profile!.description,
|
||||
location: profile!.location,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue