feat: return defaultWithReplies as a part of $i
This commit is contained in:
parent
95e3cee6b0
commit
f2cc4fe693
4 changed files with 7 additions and 1 deletions
|
|
@ -445,6 +445,7 @@ export class UserEntityService implements OnModuleInit {
|
|||
mutingNotificationTypes: [], // 後方互換性のため
|
||||
notificationRecieveConfig: profile!.notificationRecieveConfig,
|
||||
emailNotificationTypes: profile!.emailNotificationTypes,
|
||||
defaultWithReplies: user!.defaultWithReplies,
|
||||
achievements: profile!.achievements,
|
||||
loggedInDays: profile!.loggedInDates.length,
|
||||
policies: this.roleService.getUserPolicies(user.id),
|
||||
|
|
|
|||
|
|
@ -403,6 +403,9 @@ export const packedMeDetailedOnlySchema = {
|
|||
nullable: false, optional: false,
|
||||
},
|
||||
},
|
||||
defaultWithReplies: {
|
||||
type: 'boolean',
|
||||
},
|
||||
//#region secrets
|
||||
email: {
|
||||
type: 'string',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue