Set inboxServerPermission to manageMessages by default

With single server setups being extremely common, this is a safer
default than not requiring any permissions at all.
cshd
Dragory 2020-11-22 13:22:31 +02:00
parent 179361d761
commit 8662917bea
No known key found for this signature in database
GPG Key ID: 5F387BA66DF8AAC1
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
* @property {string} [mentionRole="here"]
* @property {boolean} [pingOnBotMention=true]
* @property {string} [botMentionResponse]
* @property {array} [inboxServerPermission=[]]
* @property {array} [inboxServerPermission=["manageMessages"]]
* @property {boolean} [alwaysReply=false]
* @property {boolean} [alwaysReplyAnon=false]
* @property {boolean} [useNicknames=false]

View File

@ -115,7 +115,7 @@
"inboxServerPermission": {
"$ref": "#/definitions/stringArray",
"default": []
"default": ["manageMessages"]
},
"alwaysReply": {
"$ref": "#/definitions/customBoolean",