[evolution-ews] When creating a new set meeting as free or busy
- From: Pavel Ocheretny <pocheretny src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] When creating a new set meeting as free or busy
- Date: Tue, 26 Jul 2011 11:34:36 +0000 (UTC)
commit 26bab5c168ad1343a6864d4d86728576124a3c8e
Author: Pavel Ocheretny <pocheretny src gnome org>
Date: Tue Jul 26 14:35:41 2011 +0300
When creating a new set meeting as free or busy
src/calendar/e-cal-backend-ews.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/calendar/e-cal-backend-ews.c b/src/calendar/e-cal-backend-ews.c
index 7dfbc8c..5424455 100644
--- a/src/calendar/e-cal-backend-ews.c
+++ b/src/calendar/e-cal-backend-ews.c
@@ -1066,6 +1066,13 @@ convert_vevent_calcomp_to_xml(ESoapMessage *msg, gpointer user_data)
ewscal_set_time (msg, "End", &dtend);
/* We have to do the time zone(s) later, or the server rejects the request */
+ /*freebusy*/
+ prop = icalcomponent_get_first_property (icalcomp, ICAL_TRANSP_PROPERTY);
+ if (!g_strcmp0 (icalproperty_get_value_as_string (prop), "TRANSPARENT"))
+ e_ews_message_write_string_parameter (msg, "LegacyFreeBusyStatus",NULL,"Free");
+ else
+ e_ews_message_write_string_parameter (msg, "LegacyFreeBusyStatus",NULL,"Busy");
+
/* location */
e_ews_message_write_string_parameter(msg, "Location", NULL, icalcomponent_get_location(icalcomp));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]