[Pkg-owncloud-commits] [php-sabredav] 155/275: Using normalized attendee and organizer urls for matching.

David Prévot taffit at moszumanska.debian.org
Thu Sep 25 14:56:03 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository php-sabredav.

commit 085d0c49311c387f0fee64ec5e047af599e7e833
Author: Evert Pot <me at evertpot.com>
Date:   Wed Aug 13 17:40:20 2014 -0400

    Using normalized attendee and organizer urls for matching.
---
 lib/CalDAV/Schedule/Plugin.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/CalDAV/Schedule/Plugin.php b/lib/CalDAV/Schedule/Plugin.php
index 50b5019..de7c6ef 100644
--- a/lib/CalDAV/Schedule/Plugin.php
+++ b/lib/CalDAV/Schedule/Plugin.php
@@ -567,14 +567,14 @@ class Plugin extends ServerPlugin {
 
             $this->deliver($message);
 
-            if (isset($newObject->VEVENT->ORGANIZER) && ($newObject->VEVENT->ORGANIZER->getValue() === $message->recipient)) {
+            if (isset($newObject->VEVENT->ORGANIZER) && ($newObject->VEVENT->ORGANIZER->getNormalizedValue() === $message->recipient)) {
                 $newObject->VEVENT->ORGANIZER['SCHEDULE-STATUS'] = $message->scheduleStatus;
 
             } else {
 
                 foreach($newObject->VEVENT->ATTENDEE as $attendee) {
 
-                    if ($attendee->getValue() === $message->recipient) {
+                    if ($attendee->getNormalizedValue() === $message->recipient) {
                         $attendee['SCHEDULE-STATUS'] = $message->scheduleStatus;
                         break;
                     }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/php-sabredav.git



More information about the Pkg-owncloud-commits mailing list