feat: option to allow auto-joining of groups (optionally skip the "request membership" step)

This commit is contained in:
psychobunny
2020-12-01 14:40:49 -05:00
parent 43bbfb6780
commit 685f3c6aa6
8 changed files with 31 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ const translator = require('../translator');
const intFields = [
'createtime', 'memberCount', 'hidden', 'system', 'private',
'userTitleEnabled', 'disableJoinRequests', 'disableLeave',
'userTitleEnabled', 'disableJoinRequests', 'disableLeave', 'autojoin',
];
module.exports = function (Groups) {