diff --git a/lib/events/EventManager.ts b/lib/events/EventManager.ts index cc3143a5f8..f40fb49b87 100644 --- a/lib/events/EventManager.ts +++ b/lib/events/EventManager.ts @@ -111,13 +111,13 @@ export default class EventManager { }, }); - const isVideo = EventManager.isDedicatedIntegration(event.location); + const isDedicated = EventManager.isDedicatedIntegration(event.location); - // First, update all calendar events. If this is a video event, don't send a mail right here. - const results: Array = await this.updateAllCalendarEvents(event, booking, isVideo); + // First, update all calendar events. If this is a dedicated event, don't send a mail right here. + const results: Array = await this.updateAllCalendarEvents(event, booking, isDedicated); - // If and only if event type is a video meeting, update the video meeting as well. - if (isVideo) { + // If and only if event type is a dedicated meeting, update the dedicated video meeting as well. + if (isDedicated) { results.push(await this.updateVideoEvent(event, booking)); }