Custom channel emoticons WIP (#130)
This commit is contained in:
@ -8,6 +8,7 @@ import { ensureProsodyRunning } from './prosody/ctl'
|
||||
import { RoomChannel } from './room-channel'
|
||||
import { BotsCtl } from './bots/ctl'
|
||||
import { ExternalAuthOIDC, ExternalAuthOIDCType } from './external-auth/oidc'
|
||||
import { Emojis } from './emojis'
|
||||
import { loc } from './loc'
|
||||
const escapeHTML = require('escape-html')
|
||||
|
||||
@ -68,6 +69,10 @@ async function initSettings (options: RegisterServerOptions): Promise<void> {
|
||||
|
||||
await ExternalAuthOIDC.initSingletons(options)
|
||||
|
||||
// recreating a Emojis singleton
|
||||
await Emojis.destroySingleton()
|
||||
await Emojis.initSingleton(options)
|
||||
|
||||
peertubeHelpers.logger.info('Saving settings, ensuring prosody is running')
|
||||
await ensureProsodyRunning(options)
|
||||
|
||||
|
Reference in New Issue
Block a user