Commit 93090e38 authored by mku's avatar mku

ZP-465 #comment Attendee is set as organizer with iOS7 #time 3h

git-svn-id: https://z-push.org/svn/z-push/trunk@1771 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent cbb96f85
......@@ -1243,12 +1243,15 @@ class MAPIProvider {
$props[$appointmentprops["representingentryid"]] = mapi_createoneoff(Request::GetAuthUser(), "ZARAFA", Request::GetAuthUser());
$props[$appointmentprops["sentrepresentinsrchk"]] = $props[$appointmentprops["sentrepresentingaddt"]].":".$props[$appointmentprops["sentrepresentingemail"]];
$props[$appointmentprops["icon"]] = 1026;
// the user is the organizer
// set these properties to show tracking tab in webapp
$props[$appointmentprops["mrwassent"]] = true;
$props[$appointmentprops["responsestatus"]] = olResponseOrganized;
$props[$appointmentprops["meetingstatus"]] = olMeeting;
if(isset($appointment->attendees) && is_array($appointment->attendees) && !empty($appointment->attendees)) {
$props[$appointmentprops["icon"]] = 1026;
// the user is the organizer
// set these properties to show tracking tab in webapp
$props[$appointmentprops["mrwassent"]] = true;
$props[$appointmentprops["responsestatus"]] = olResponseOrganized;
$props[$appointmentprops["meetingstatus"]] = olMeeting;
}
}
// Do attendees
......
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