diff --git a/server/lib/prosody/config.ts b/server/lib/prosody/config.ts index dde67d7c..09d34fbc 100644 --- a/server/lib/prosody/config.ts +++ b/server/lib/prosody/config.ts @@ -96,7 +96,7 @@ async function getProsodyConfig (options: RegisterServerOptions): Promise { const router = getRouter() const logger = peertubeHelpers.logger - router.get('/room', async (_req: Request, res: Response, _next: NextFunction) => { - logger.info('Requesting room information for room ...') + router.get('/room', async (req: Request, res: Response, _next: NextFunction) => { + const jid: string = req.query.jid as string || '' + logger.info(`Requesting room information for room '${jid}'.`) // TODO: check if room is legit and fill informations const roomDefaults: RoomDefaults = { name: 'name_of_the_room',