Commit b4517ea3 authored by mku's avatar mku

ZP-178 #comment Appointment with meeting items are added after editing with an...

ZP-178 #comment Appointment with meeting items are added after editing with an android device, always set the meeting organizer   #time 1h

git-svn-id: https://z-push.org/svn/z-push/trunk@1431 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent f753d14e
...@@ -218,10 +218,8 @@ class MAPIProvider { ...@@ -218,10 +218,8 @@ class MAPIProvider {
else else
$message->uid = Utils::GetICalUidFromOLUid($message->uid); $message->uid = Utils::GetICalUidFromOLUid($message->uid);
// Get organizer information if it is a meetingrequest // Always set organizer information because some devices do not work properly without it
if(isset($messageprops[$appointmentprops["meetingstatus"]]) && if( isset($messageprops[$appointmentprops["representingentryid"]]) &&
$messageprops[$appointmentprops["meetingstatus"]] > 0 &&
isset($messageprops[$appointmentprops["representingentryid"]]) &&
isset($messageprops[$appointmentprops["representingname"]])) { isset($messageprops[$appointmentprops["representingname"]])) {
$message->organizeremail = w2u($this->getSMTPAddressFromEntryID($messageprops[$appointmentprops["representingentryid"]])); $message->organizeremail = w2u($this->getSMTPAddressFromEntryID($messageprops[$appointmentprops["representingentryid"]]));
......
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