[evolution-ews] Updated sending timezone on modify meeting



commit 3293698f8d1ca6336b3619dadb4293fa4450672b
Author: Shiran Stan-Meleh <shiran stan-meleh intel com>
Date:   Tue Aug 23 10:01:42 2011 +0300

    Updated sending timezone on modify meeting

 src/calendar/e-cal-backend-ews.c |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index ad4ad7f..3cb08ce 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1869,11 +1869,9 @@ convert_vevent_component_to_updatexml(ESoapMessage *msg, gpointer user_data)
 			e_ews_message_end_set_item_field (msg);
 		}
 	} else {
-		if (dtstart.zone) {
-			e_ews_message_start_set_item_field (msg, "MeetingTimeZone", "calendar", "CalendarItem");
-			ewscal_set_timezone (msg, "MeetingTimeZone", (icaltimezone *)dtstart.zone);
-			e_ews_message_end_set_item_field (msg);
-		}
+		e_ews_message_start_set_item_field (msg, "MeetingTimeZone", "calendar", "CalendarItem");
+		ewscal_set_timezone (msg, "MeetingTimeZone", (icaltimezone *)(dtstart.zone?dtstart.zone:modify_data->cbews->priv->default_zone));
+		e_ews_message_end_set_item_field (msg);
 	}
 
 	e_ews_message_end_item_change (msg);



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