[evolution-ews] Replace random UID in meeting cancellation mime content with AssociatedCalendarItemId. We have to re



commit ddaff22833e459fd894f91f53e8c551430586135
Author: Pavel Ocheretny <pocheretny src gnome org>
Date:   Sun May 29 10:59:03 2011 +0300

    Replace random UID in meeting cancellation mime content with AssociatedCalendarItemId.
    We have to replace the random UID also for meeting cancellation,
    that way Evolution will able to find the meeting in calendar and mark it as cancel

 src/camel/camel-ews-folder.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index 0c73837..536242a 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -380,7 +380,8 @@ camel_ews_folder_get_message (CamelFolder *folder, const gchar *uid, gint pri, G
 	   to match with calendar components saved in calendar cache. So manually get
 	   AssociatedCalendarItemId, replace the random UID with this ItemId,
 	   And save updated message data to a new temp file */
-	if (e_ews_item_get_item_type (items->data) == E_EWS_ITEM_TYPE_MEETING_REQUEST) {
+	if (e_ews_item_get_item_type (items->data) == E_EWS_ITEM_TYPE_MEETING_REQUEST ||
+		e_ews_item_get_item_type (items->data) == E_EWS_ITEM_TYPE_MEETING_CANCELLATION) {
 		GSList *items_req = NULL;
 		const EwsId *associated_calendar_id;
 



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