fix(calendar): Do not send tentative participation mail when user open mail or add ics to calendar app

This commit is contained in:
smizrahi
2023-08-08 15:12:32 +02:00
committed by Hivert Quentin
parent 075203a5c6
commit c4a1b68eb5
@@ -2216,8 +2216,10 @@ inRecurrenceExceptionsForEvent: (iCalEvent *) theEvent
// 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];
}