[evolution-ews] In case we are moving an ical object between calendars we have to clean up it from our hacks. X-EVOL



commit b9d0f7af8799de3330ae214c4fbc9220e4b2f6ab
Author: Pavel Ocheretny <pavel ocheretny intel com>
Date:   Mon Aug 29 10:29:42 2011 +0300

    In case we are moving an ical object between calendars we have to clean up it from our hacks.
    X-EVOLUTION-ITEMID and X-EVOLUTION-CHANGEKEY should be removed before creating a new object in store

 src/calendar/e-cal-backend-ews.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 72fa6a3..ba74246 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1566,6 +1566,7 @@ e_cal_backend_ews_create_object(ECalBackend *backend, EDataCal *cal, EServerMeth
 		goto exit;
 	}
 
+	e_ews_clean_icalcomponent (icalcomp);
 	/* pick all the tzids out of the component and resolve
 	 * them using the vtimezones in the current calendar */
 	cbd.cbews = cbews;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]