From d2bc02e6fc5e3c471b114b522bfd313dd8c28697 Mon Sep 17 00:00:00 2001 From: nicolas Date: Sun, 1 Aug 2021 23:38:38 +0200 Subject: [PATCH] Further renaming --- lib/events/EventManager.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/events/EventManager.ts b/lib/events/EventManager.ts index cc3143a5..f40fb49b 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)); }