Skip to content

Scheduling infrastructure for absolutely everyone.

Further renaming

nicolasd2bc02e6fc5e
diff --git a/lib/events/EventManager.ts b/lib/events/EventManager.ts
index cc3143a5f8b..f40fb49b872 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<EventResult> = 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<EventResult> = 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));
}