/**
* \brief Process a calendar object
* ...at this point it's already been deserialized by cal_process_attachment()
- * \param cal teh calendar object
+ * \param cal the calendar object
* \param recursion_level call stack depth ??????
* \param msgnum number of the mesage in our db
* \param cal_partnum of the calendar object ????
lprintf(9, "Encapsulating into full VCALENDAR component\n");
encaps = ical_encapsulate_subcomponent(icalcomponent_new_clone(vevent));
+ /* Set the method to PUBLISH */
+ icalcomponent_set_method(encaps, ICAL_METHOD_PUBLISH);
+
/** If the user clicked 'Save' then save it to the server. */
lprintf(9, "Serializing it for saving\n");
if ( (encaps != NULL) && (strlen(bstr("save_button")) > 0) ) {