diff --git a/CHANGELOG.md b/CHANGELOG.md index 88ef9c3..90a56ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Please report any bugs you encounter by [creating a GitHub issue](https://github * Added support for Node.js 14, dropped support for Node.js 10 and 11 * The supported versions are now 12, 13, and 14 * Added support for editing and deleting staff replies + * This is **enabled by default** * This can be disabled with the `allowStaffEdit` and `allowStaffDelete` options * Only the staff member who sent the reply can edit/delete it * New option `reactOnSeen` ([#398](https://github.com/Dragory/modmailbot/pull/398) by @Eegras) diff --git a/src/data/cfg.jsdoc.js b/src/data/cfg.jsdoc.js index 45dc6ff..2d1a6b2 100644 --- a/src/data/cfg.jsdoc.js +++ b/src/data/cfg.jsdoc.js @@ -29,8 +29,8 @@ * @property {boolean} [typingProxyReverse=false] * @property {boolean} [mentionUserInThreadHeader=false] * @property {boolean} [rolesInThreadHeader=false] - * @property {boolean} [allowStaffEdit=false] - * @property {boolean} [allowStaffDelete=false] + * @property {boolean} [allowStaffEdit=true] + * @property {boolean} [allowStaffDelete=true] * @property {boolean} [enableGreeting=false] * @property {string} [greetingMessage] * @property {string} [greetingAttachment] diff --git a/src/data/cfg.schema.json b/src/data/cfg.schema.json index 64550e6..9431823 100644 --- a/src/data/cfg.schema.json +++ b/src/data/cfg.schema.json @@ -158,11 +158,11 @@ }, "allowStaffEdit": { "$ref": "#/definitions/customBoolean", - "default": false + "default": true }, "allowStaffDelete": { "$ref": "#/definitions/customBoolean", - "default": false + "default": true }, "enableGreeting": {