Commit e66f4d73 authored by sebastian's avatar sebastian

ZP-586 #comment Meeting shows correctly as accepted on iOS when the...

ZP-586 #comment Meeting shows correctly as accepted on iOS when the "attendeestatus" flag is NOT included when synchronizing the attendees appointment. Including it for the organizer shows the status of the attendees correctly.

git-svn-id: https://z-push.org/svn/z-push/trunk@1946 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 79becf39
...@@ -279,8 +279,9 @@ class MAPIProvider { ...@@ -279,8 +279,9 @@ class MAPIProvider {
} }
} }
//set attendee's status and type if they're available //set attendee's status and type if they're available and if we are the organizer
if (isset($row[PR_RECIPIENT_TRACKSTATUS])) $storeprops = $this->getStoreProps();
if (isset($row[PR_RECIPIENT_TRACKSTATUS]) && $messageprops[$appointmentprops["representingentryid"]] == $storeprops[PR_MAILBOX_OWNER_ENTRYID])
$attendee->attendeestatus = $row[PR_RECIPIENT_TRACKSTATUS]; $attendee->attendeestatus = $row[PR_RECIPIENT_TRACKSTATUS];
if (isset($row[PR_RECIPIENT_TYPE])) if (isset($row[PR_RECIPIENT_TYPE]))
$attendee->attendeetype = $row[PR_RECIPIENT_TYPE]; $attendee->attendeetype = $row[PR_RECIPIENT_TYPE];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment