Replace v11.1.0 by v12.0.0:
There will probably be some breaking changes, so renaming v11.1.0 to v12.0.0. Also fixing a typo in a filename.
This commit is contained in:
@ -55,7 +55,7 @@ async function sanitizeChannelConfigurationOptions (
|
||||
}
|
||||
mute.anonymous ??= false
|
||||
|
||||
// forbidSpecialChars comes with livechat 11.1.0
|
||||
// forbidSpecialChars comes with livechat 12.0.0
|
||||
botData.forbidSpecialChars ??= {
|
||||
enabled: false,
|
||||
reason: '',
|
||||
@ -66,7 +66,7 @@ async function sanitizeChannelConfigurationOptions (
|
||||
throw new Error('Invalid data.bot.forbidSpecialChars data type')
|
||||
}
|
||||
|
||||
// noDuplicate comes with livechat 11.1.0
|
||||
// noDuplicate comes with livechat 12.0.0
|
||||
botData.noDuplicate ??= {
|
||||
enabled: false,
|
||||
reason: '',
|
||||
|
@ -9,7 +9,7 @@ import * as fs from 'fs'
|
||||
import { Emojis } from '../../emojis'
|
||||
|
||||
/**
|
||||
* Livechat v11.1.0: we must send channel custom emojis regexp to Prosody.
|
||||
* Livechat v12.0.0: we must send channel custom emojis regexp to Prosody.
|
||||
*
|
||||
* This script will only be launched one time.
|
||||
*/
|
@ -18,7 +18,7 @@ import { BotConfiguration } from './lib/configuration/bot'
|
||||
import { BotsCtl } from './lib/bots/ctl'
|
||||
import { ExternalAuthOIDC } from './lib/external-auth/oidc'
|
||||
import { migrateMUCAffiliations } from './lib/prosody/migration/migrateV10'
|
||||
import { updateProsodyChannelEmojisRegex } from './lib/prosody/migration/migrageV11-1'
|
||||
import { updateProsodyChannelEmojisRegex } from './lib/prosody/migration/migrateV12'
|
||||
import { Emojis } from './lib/emojis'
|
||||
import { LivechatProsodyAuth } from './lib/prosody/auth'
|
||||
import decache from 'decache'
|
||||
|
Reference in New Issue
Block a user