[CalendarServer-changes] [13837] CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Aug 5 13:47:45 PDT 2014


Revision: 13837
          http://trac.calendarserver.org//changeset/13837
Author:   gaya at apple.com
Date:     2014-08-05 13:47:45 -0700 (Tue, 05 Aug 2014)
Log Message:
-----------
in processRequests() and processCancels(), skip attendees with CUTYPE "X-SERVER-GROUP"

Modified Paths:
--------------
    CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py

Modified: CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py
===================================================================
--- CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py	2014-08-05 00:18:30 UTC (rev 13836)
+++ CalendarServer/trunk/txdav/caldav/datastore/scheduling/implicit.py	2014-08-05 20:47:45 UTC (rev 13837)
@@ -1307,7 +1307,7 @@
                     continue
 
             # Do not schedule with groups - ever
-            if attendeeAddress.hosted() and attendeeAddress.getCUType() == "GROUP":
+            if attendeeAddress.hosted() and attendeeAddress.getCUType() in ("GROUP", "X-SERVER_GROUP"):
                 continue
 
             # Generate an iTIP CANCEL message for this attendee, cancelling
@@ -1370,7 +1370,7 @@
                     continue
 
             # Do not schedule with groups - ever
-            if attendeeAddress.hosted() and attendeeAddress.getCUType() == "GROUP":
+            if attendeeAddress.hosted() and attendeeAddress.getCUType() in ("GROUP", "X-SERVER_GROUP"):
                 continue
 
             itipmsg = iTipGenerator.generateAttendeeRequest(self.calendar, (attendee,), self.changed_rids)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140805/acf3cc47/attachment.html>


More information about the calendarserver-changes mailing list