Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d26a7de6 authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

applied suggestion

parent 4a583eaf
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -7,13 +7,13 @@ This patch helps in indentifying that For a recurring event, the invitee knows w

--- ./apps/dav/lib/CalDAV/Schedule/IMipPlugin.php	2024-03-18 11:18:20
+++ ./apps/dav/lib/CalDAV/Schedule/IMipPlugin-new.php	2024-03-11 11:18:22
@@ -175,6 +175,30 @@
@@ -174,7 +174,29 @@
 		/** @var VEvent $oldVevent */
 		$oldVevent = !empty($modified['old']) && is_array($modified['old']) ? array_pop($modified['old']) : null;
 		$isModified = isset($oldVevent);
 
+		if (isset($vEvent->{'RECURRENCE-ID'}) && $modified['sentOld'] === 1 && !empty($oldVevent)) {
+		
-
+		$recurrenceId = $vEvent->{'RECURRENCE-ID'};	
+		if (isset($recurrenceId) && $modified['sentOld'] === 1 && !empty($oldVevent)) {
+			$dateTime = $recurrenceId->getValue();
+			$recurrenceArray = explode('T', $dateTime);
+