Moderation Bot integration WIP:
* Start and stop the bot WIP * Prosody: removing the BOSH module from the global scope (must only be present on relevant virtualhosts) * Some refactoring
This commit is contained in:
@ -11,7 +11,7 @@ async function registerConfiguration (clientOptions: RegisterClientOptions): Pro
|
||||
const { peertubeHelpers, registerClientRoute, registerHook } = clientOptions
|
||||
|
||||
const settings = await peertubeHelpers.getSettings()
|
||||
if (settings['disable-configuration']) { return }
|
||||
if (settings['disable-channel-configuration']) { return }
|
||||
|
||||
registerClientRoute({
|
||||
route: 'livechat/configuration',
|
||||
|
Reference in New Issue
Block a user