diff --git a/bbb-webhooks/config.js b/bbb-webhooks/config.js index 845c9bc3302519278866e93d99a181950e97f585..21de8e01ed5d574354cb93cd85633e76264e0137 100644 --- a/bbb-webhooks/config.js +++ b/bbb-webhooks/config.js @@ -25,10 +25,6 @@ if (!config.hooks.aggr) { config.hooks.aggr = []; } if (!config.hooks.queueSize) { config.hooks.queueSize = 10000; } if (!config.hooks.getRaw) { config.hooks.getRaw = false; } -if (!config.webhooks) { config.webhooks = {}; } -if (!config.webhooks.rawPath) { config.webhooks.rawPath = "payload"; } -if (!config.webhooks.meetingID) { config.webhooks.meetingID = "meeting_id"; } - // Retry intervals for failed attempts for perform callback calls. // In ms. Totals to around 5min. config.hooks.retryIntervals = [ diff --git a/bbb-webhooks/config_local.js.example b/bbb-webhooks/config_local.js.example index 51b2cd5d1eb9aef53a5d4cfbb539242723700399..a67c7b309be7c55183891f97944f9453e125fa43 100644 --- a/bbb-webhooks/config_local.js.example +++ b/bbb-webhooks/config_local.js.example @@ -14,7 +14,8 @@ config.server.port = 3005; config.hooks = {}; config.hooks.channels = { mainChannel: 'from-akka-apps-redis-channel', - rapChannel: 'bigbluebutton:from-rap' + rapChannel: 'bigbluebutton:from-rap', + chatChannel: 'from-akka-apps-chat-redis-channel' } // IP where aggr will be hosted @@ -23,6 +24,4 @@ config.hooks.aggr = ["request.catcher.url", "another.request.catcher.url"] // Allow global hook to receive all events with raw data config.hooks.getRaw = false; -config.webhooks = {}; - module.exports = config;