Revision: 4514
Author:   seba.wagner
Date:     Sat Nov  5 02:07:18 2011
Log: Exclude Method type in iCal invitation to have at least the invitation displayed right (cancel and refresh needs to be fixed)
http://code.google.com/p/openmeetings/source/detail?r=4514

Modified:
 /tags/1_8/src/app/org/openmeetings/utils/mail/IcalHandler.java

=======================================
--- /tags/1_8/src/app/org/openmeetings/utils/mail/IcalHandler.java Wed Aug 31 11:01:53 2011 +++ /tags/1_8/src/app/org/openmeetings/utils/mail/IcalHandler.java Sat Nov 5 02:07:18 2011
@@ -19,7 +19,6 @@
 import net.fortuna.ical4j.model.property.Attendee;
 import net.fortuna.ical4j.model.property.CalScale;
 import net.fortuna.ical4j.model.property.Description;
-import net.fortuna.ical4j.model.property.Method;
 import net.fortuna.ical4j.model.property.Organizer;
 import net.fortuna.ical4j.model.property.ProdId;
 import net.fortuna.ical4j.model.property.Sequence;
@@ -80,13 +79,14 @@
                icsCalendar.getProperties().add(Version.VERSION_2_0);

                // Switch Method Type
+               /*
                if (methodType.equals(ICAL_METHOD_REFRESH))
                        icsCalendar.getProperties().add(Method.REFRESH);
                else if (methodType.equals(ICAL_METHOD_CANCEL))
                        icsCalendar.getProperties().add(Method.CANCEL);
                else
                        icsCalendar.getProperties().add(Method.REQUEST);
-
+               */
        }

        /**

--
You received this message because you are subscribed to the Google Groups 
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-dev?hl=en.

Reply via email to