feat: return defaultWithReplies as a part of $i

This commit is contained in:
anatawa12 2023-10-16 14:40:27 +09:00
parent 95e3cee6b0
commit f2cc4fe693
No known key found for this signature in database
GPG key ID: 9CA909848B8E4EA6
4 changed files with 7 additions and 1 deletions

View file

@ -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),

View file

@ -403,6 +403,9 @@ export const packedMeDetailedOnlySchema = {
nullable: false, optional: false,
},
},
defaultWithReplies: {
type: 'boolean',
},
//#region secrets
email: {
type: 'string',