[evolution-mapi] Bug #633182 - Meeting invites sent also to organiser
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-mapi] Bug #633182 - Meeting invites sent also to organiser
- Date: Tue, 2 Nov 2010 13:52:34 +0000 (UTC)
commit 847c41a3a69cb3a6758da4f642229aa6a16fc1dd
Author: Milan Crha <mcrha redhat com>
Date: Tue Nov 2 14:51:26 2010 +0100
Bug #633182 - Meeting invites sent also to organiser
src/libexchangemapi/exchange-mapi-cal-utils.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-cal-utils.c b/src/libexchangemapi/exchange-mapi-cal-utils.c
index 398205c..f8833f5 100644
--- a/src/libexchangemapi/exchange-mapi-cal-utils.c
+++ b/src/libexchangemapi/exchange-mapi-cal-utils.c
@@ -368,9 +368,14 @@ exchange_mapi_cal_util_fetch_recipients (ECalComponent *comp, GSList **recip_lis
const gchar *str = NULL;
icalparameter *param;
+ str = icalproperty_get_attendee (att_prop);
+ if (!str || g_ascii_strcasecmp (str, org) == 0) {
+ att_prop = icalcomponent_get_next_property (icalcomp, ICAL_ATTENDEE_PROPERTY);
+ continue;
+ }
+
recipient = g_new0 (ExchangeMAPIRecipient, 1);
- str = icalproperty_get_attendee (att_prop);
if (!g_ascii_strncasecmp (str, "mailto:", 7))
recipient->email_id = (str) + 7;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]