[CalendarServer-changes] [2816] CalendarServer/branches/users/sagen/mailgateway-implicit-2745/ twistedcaldav/mail.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Aug 13 10:00:39 PDT 2008
Revision: 2816
http://trac.macosforge.org/projects/calendarserver/changeset/2816
Author: sagen at apple.com
Date: 2008-08-13 10:00:38 -0700 (Wed, 13 Aug 2008)
Log Message:
-----------
When posting itip reply, only include the appropriate attendee
Modified Paths:
--------------
CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py
Modified: CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py
===================================================================
--- CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py 2008-08-13 16:06:38 UTC (rev 2815)
+++ CalendarServer/branches/users/sagen/mailgateway-implicit-2745/twistedcaldav/mail.py 2008-08-13 17:00:38 UTC (rev 2816)
@@ -244,6 +244,7 @@
scheme = "https:" if useSSL else "http:"
url = "%s//%s:%d/%s/" % (scheme, host, port, path)
+ log.debug("Injecting to %s: %s %s" % (url, str(headers), data))
factory = client.HTTPClientFactory(url, method='POST', headers=headers,
postdata=data)
if useSSL:
@@ -553,6 +554,7 @@
organizer, attendee = result
organizer = str(organizer)
attendee = str(attendee)
+ calendar.removeAllButOneAttendee(attendee)
calendar.getOrganizerProperty().setValue(organizer)
calendar.addProperty(Property("REQUEST-STATUS",
"5.1;Service unavailable"))
@@ -605,6 +607,7 @@
organizer, attendee = result
organizer = str(organizer)
attendee = str(attendee)
+ calendar.removeAllButOneAttendee(attendee)
calendar.getOrganizerProperty().setValue(organizer)
return injectMessage(organizer, attendee, calendar,
msg['Message-ID'])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20080813/210d7647/attachment-0001.html
More information about the calendarserver-changes
mailing list