Skip to content

Commit

Permalink
fix(calendar): Do not send tentative participation mail when user ope…
Browse files Browse the repository at this point in the history
…n mail or add ics to calendar app
  • Loading branch information
WoodySlum committed Aug 8, 2023
1 parent f3981c4 commit 382b8a0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SoObjects/Appointments/SOGoAppointmentObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -2216,8 +2216,10 @@ - (NSException *) updateContentWithCalendar: (iCalCalendar *) calendar
// we receive an external invitation (IMIP/ITIP) and we accept it
// from a CUA - it gets added to a specific CalDAV calendar using a PUT
//
else if ([event userIsAttendee: ownerUser] && [self _shouldScheduleEvent: [event userAsAttendee: ownerUser]])
{
else if ([event userIsAttendee: ownerUser]
&& [self _shouldScheduleEvent: [event userAsAttendee: ownerUser]]
&& iCalPersonPartStatNeedsAction != [[event userAsAttendee: ownerUser] participationStatus])
{
[self sendResponseToOrganizer: event
from: ownerUser];
}
Expand Down

0 comments on commit 382b8a0

Please sign in to comment.