Fix.
This commit is contained in:
parent
b2b489af6e
commit
523a5f35ab
@ -88,7 +88,7 @@ async function initWebchatRouter (options: RegisterServerOptions): Promise<Route
|
||||
// Computing the room name...
|
||||
room = room.replace(/{{VIDEO_UUID}}/g, video.uuid)
|
||||
room = room.replace(/{{CHANNEL_ID}}/g, `${video.channelId}`)
|
||||
if (room.includes('CHANNEL_NAME')) {
|
||||
if (room.includes('{{CHANNEL_NAME}}')) {
|
||||
const channelName = await getChannelNameById(options, video.channelId)
|
||||
if (channelName === null) {
|
||||
throw new Error('Channel not found')
|
||||
|
Loading…
Reference in New Issue
Block a user