Channel configuration UI + disabling bannedJIDs (for now)
This commit is contained in:
@ -21,7 +21,7 @@ async function sanitizeChannelConfigurationOptions (
|
||||
const result: ChannelConfigurationOptions = {
|
||||
bot: _readBoolean(data, 'bot'),
|
||||
botNickname: _readSimpleInput(data, 'botNickname'),
|
||||
bannedJIDs: await _readRegExpArray(data, 'bannedJIDs'),
|
||||
// bannedJIDs: await _readRegExpArray(data, 'bannedJIDs'),
|
||||
forbiddenWords: await _readRegExpArray(data, 'forbiddenWords')
|
||||
}
|
||||
|
||||
|
@ -38,7 +38,7 @@ function getDefaultChannelConfigurationOptions (_options: RegisterServerOptions)
|
||||
return {
|
||||
bot: false,
|
||||
botNickname: 'Sepia',
|
||||
bannedJIDs: [],
|
||||
// bannedJIDs: [],
|
||||
forbiddenWords: []
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user