Commit f1c4b0ee authored by skummer's avatar skummer

ZP-475 #comment set the organizer of meeting request responses to the "to"...

ZP-475 #comment set the organizer of meeting request responses to the "to" address (user receiving updates is the organizer). In all other cases the "from" is continued to set (as before)

git-svn-id: https://z-push.org/svn/z-push/trunk@1778 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 481dff2e
...@@ -561,7 +561,12 @@ class MAPIProvider { ...@@ -561,7 +561,12 @@ class MAPIProvider {
} }
// Organizer is the sender // Organizer is the sender
$message->meetingrequest->organizer = $message->from; if (strpos($message->messageclass, "IPM.Schedule.Meeting.Resp") === 0) {
$message->meetingrequest->organizer = $message->to;
}
else {
$message->meetingrequest->organizer = $message->from;
}
// Process recurrence // Process recurrence
if(isset($props[$meetingrequestproperties["isrecurringtag"]]) && $props[$meetingrequestproperties["isrecurringtag"]]) { if(isset($props[$meetingrequestproperties["isrecurringtag"]]) && $props[$meetingrequestproperties["isrecurringtag"]]) {
......
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