[CalendarServer-changes] [9164] CalendarServer/trunk/twistedcaldav/ical.py

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 20 13:08:48 PDT 2012


Revision: 9164
          http://trac.macosforge.org/projects/calendarserver/changeset/9164
Author:   cdaboo at apple.com
Date:     2012-04-20 13:08:48 -0700 (Fri, 20 Apr 2012)
Log Message:
-----------
Add X-APPLE-DEFAULT-ALARM:TRUE property to default alarms.

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/ical.py

Modified: CalendarServer/trunk/twistedcaldav/ical.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/ical.py	2012-04-20 20:08:03 UTC (rev 9163)
+++ CalendarServer/trunk/twistedcaldav/ical.py	2012-04-20 20:08:48 UTC (rev 9164)
@@ -2173,6 +2173,9 @@
         except IndexError:
             return False
 
+        # Need to add property to indicate this was added by the server
+        valarm.addProperty(Property("X-APPLE-DEFAULT-ALARM", "TRUE"))
+
         # ACTION:NONE not added
         changed = False
         action = valarm.propertyValue("ACTION")
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120420/5fdfa82f/attachment.html>


More information about the calendarserver-changes mailing list