Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Google Calendar sharing guest information logic #7323

Merged
merged 7 commits into from
Mar 16, 2023
Merged
8 changes: 7 additions & 1 deletion packages/app-store/googlecalendar/lib/CalendarService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,13 @@ export default class GoogleCalendarService implements Calendar {
reminders: {
useDefault: true,
},
guestsCanSeeOtherGuests: calEventRaw.seatsShowAttendees,
// If there are no seats then share attendee information
guestsCanSeeOtherGuests: !calEventRaw.seatsPerTimeSlot
? true
: // If there are seats and show attendess is enabled then share attendee information
calEventRaw.seatsPerTimeSlot && calEventRaw.seatsShowAttendees
? true
: false,
joeauyeung marked this conversation as resolved.
Show resolved Hide resolved
};

if (calEventRaw.location) {
Expand Down