These are only supported in AS 14 or greater.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 13 Apr 2010 23:21:44 +0000 (19:21 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 13 Apr 2010 23:22:48 +0000 (19:22 -0400)
kronolith/lib/Event.php

index 736f1a8..cd46241 100644 (file)
@@ -1079,11 +1079,8 @@ abstract class Kronolith_Event
         /* Attendees */
         $attendees = $message->getAttendees();
         foreach ($attendees as $attendee) {
-            //if ($attendee->type == Horde_ActiveSync_Message_Attendee::TYPE_RESOURCE) {
-                // @TODO figure out a way to map this to an existing resource??
-            //} else {
-                $this->addAttendee($attendee->email, $attendee->type, $attendee->status, $attendee->name);
-            //}
+            // TODO: participation and response are not supported in AS <= 2.5
+            $this->addAttendee($attendee->email, Kronolith::PART_NONE, Kronolith::RESPONSE_NONE, $attendee->name);
         }
 
         /* Flag that we are initialized */