[evolution-ews] In case of non-exchange based meetings invites the calendar backend have to create the meeting When



commit 1384c877e6fd795040249bce50f56a6bc135d5b6
Author: Pavel Ocheretny <pocheretny src gnome org>
Date:   Tue May 31 23:32:59 2011 +0300

    In case of non-exchange based meetings invites the calendar backend have to create the meeting
    When we get meeting invite from Gmail for example we have to create a meeting on the server
    The CalendarItemId property return empty. It's works for us most of the time, since we are holding
    Microsoft Outlook open and working on remove machine. When Outlook client receiving the the invite mail
    and immediately create a calendar item with tentative status

 src/camel/camel-ews-folder.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/src/camel/camel-ews-folder.c b/src/camel/camel-ews-folder.c
index b21c2f6..e1cf88d 100644
--- a/src/camel/camel-ews-folder.c
+++ b/src/camel/camel-ews-folder.c
@@ -402,11 +402,12 @@ camel_ews_folder_get_message (CamelFolder *folder, const gchar *uid, gint pri, G
 			goto exit;
 		}
 		associated_calendar_id = e_ews_item_get_associated_calendar_item_id (items_req->data);
-
-		mime_fname_new = ews_update_mgtrequest_mime_calendar_itemid (mime_content,
-									     associated_calendar_id,
-									     error);
-
+		/*In case of non-exchange based meetings invites the calendar backend have to create the meeting*/
+		if (associated_calendar_id) {
+			mime_fname_new = ews_update_mgtrequest_mime_calendar_itemid (mime_content,
+										     associated_calendar_id,
+										     error);
+		}
 		if (mime_fname_new)
 			mime_content = (const gchar *) mime_fname_new;
 



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