Further renaming

pull/375/head
nicolas 2021-08-01 23:38:38 +02:00
parent 19374d38f7
commit d2bc02e6fc
1 changed files with 5 additions and 5 deletions

View File

@ -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));
}