Skip to content

Commit

Permalink
mailboxes.js remove unnecessary default value
Browse files Browse the repository at this point in the history
  • Loading branch information
NickOvt committed Nov 4, 2024
1 parent a45c36a commit e1fd1e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/api/mailboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ module.exports = (db, server, mailboxHandler) => {
modifyIndex: Joi.number().required().description('Modification sequence number. Incremented on every change in the mailbox.'),
subscribed: booleanSchema.required().description('Mailbox subscription status. IMAP clients may unsubscribe from a folder.'),
hidden: booleanSchema.required().description('Is the folder hidden or not'),
encryptMessages: booleanSchema.default(false).required().description('If true then messages in this mailbox are encrypted'),
encryptMessages: booleanSchema.required().description('If true then messages in this mailbox are encrypted'),
total: Joi.number().required().description('How many messages are stored in this mailbox'),
unseen: Joi.number().required().description('How many unseen messages are stored in this mailbox')
})
Expand Down Expand Up @@ -557,7 +557,7 @@ module.exports = (db, server, mailboxHandler) => {
'Retention policy for the Mailbox (in ms). Changing retention value only affects messages added to this folder after the change'
),
subscribed: booleanSchema.description('Change Mailbox subscription state'),
encryptMessages: booleanSchema.default(false).description('If true then messages in this mailbox are encrypted'),
encryptMessages: booleanSchema.description('If true then messages in this mailbox are encrypted'),
hidden: booleanSchema.description('Is the folder hidden or not. Hidden folders can not be opened in IMAP.'),
sess: sessSchema,
ip: sessIPSchema
Expand Down

0 comments on commit e1fd1e4

Please sign in to comment.