[evolution-mapi] Bug #602395 - Reply to all in meeting pop up doesn't seem to work



commit 650c00ad988935c3cc77285a25546ce56e766d82
Author: Milan Crha <mcrha redhat com>
Date:   Thu Jul 15 13:53:06 2010 +0200

    Bug #602395 - Reply to all in meeting pop up doesn't seem to work

 src/libexchangemapi/exchange-mapi-cal-utils.c |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-cal-utils.c b/src/libexchangemapi/exchange-mapi-cal-utils.c
index 0684a73..bfd72bb 100644
--- a/src/libexchangemapi/exchange-mapi-cal-utils.c
+++ b/src/libexchangemapi/exchange-mapi-cal-utils.c
@@ -528,11 +528,14 @@ ical_attendees_from_props (icalcomponent *ical_comp, GSList *recipients, gboolea
 			ui32 = (const uint32_t *) get_SPropValue_SRow_data (&recip->out_SRow, PR_RECIPIENT_TYPE);
 			param = icalparameter_new_role (get_role_from_type (ui32 ? *ui32 : olTo));
 			icalproperty_add_parameter (prop, param);
-#if 0
+
 			/* CALENDAR USER TYPE */
-			param = icalparameter_new_cutype ();
+			param = NULL;
+			if (ui32 && *ui32 == 0x03)
+				param = icalparameter_new_cutype (ICAL_CUTYPE_RESOURCE);
+			if (!param)
+				param = icalparameter_new_cutype (ICAL_CUTYPE_INDIVIDUAL);
 			icalproperty_add_parameter (prop, param);
-#endif
 		}
 
 		if (prop)



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