Commit 155b801b authored by mku's avatar mku

ZP-287 #comment Meeting Request response status is set to accepted without...

ZP-287 #comment Meeting Request response status is set to accepted without user interaction  #time 30m

git-svn-id: https://z-push.org/svn/z-push/trunk@1522 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 45a05572
......@@ -328,7 +328,7 @@ class MAPIMapping {
"recurringstate" => "PT_BINARY:PSETID_Appointment:0x8216",
"timezonetag" => "PT_BINARY:PSETID_Appointment:0x8233",
"recurrenceend" => "PT_SYSTIME:PSETID_Appointment:0x8236",
"meetingstatus" => "PT_LONG:PSETID_Appointment:0x8218",
"responsestatus" => "PT_LONG:PSETID_Appointment:0x8218",
"commonstart" => "PT_SYSTIME:PSETID_Common:0x8516",
"commonend" => "PT_SYSTIME:PSETID_Common:0x8517",
"reminderstart" => "PT_SYSTIME:PSETID_Common:0x8502",
......
......@@ -1008,7 +1008,7 @@ class MAPIProvider {
$props = array();
//we also have to set the responsestatus and not only meetingstatus, so we use another mapi tag
if (isset($appointment->meetingstatus)) $props[$appointmentprops["meetingstatus"]] = $appointment->meetingstatus;
$props[$appointmentprops["responsestatus"]] = (isset($appointment->responsestatus)) ? $appointment->responsestatus : olResponseNone;
//sensitivity is not enough to mark an appointment as private, so we use another mapi tag
$private = (isset($appointment->sensitivity) && $appointment->sensitivity == 0) ? false : true;
......
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