fix: doesn't fall back to calvideo if wrong destination is used for google meet (#16195)

This commit is contained in:
Kartik Saini
2024-08-14 15:11:22 +02:00
committed by GitHub
parent 528a4fbb97
commit 3f2d83d89f
+1
View File
@@ -170,6 +170,7 @@ export default class EventManager {
if (evt.location === MeetLocationType && mainHostDestinationCalendar?.integration !== "google_calendar") {
log.warn("Falling back to Cal Video integration as Google Calendar not installed");
evt["location"] = "integrations:daily";
evt["conferenceCredentialId"] = undefined;
}
const isDedicated = evt.location ? isDedicatedIntegration(evt.location) : null;