[evolution-ews] Handle <PostItem> type added in Exchange 2007SP1
- From: David Woodhouse <dwmw2 src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Handle <PostItem> type added in Exchange 2007SP1
- Date: Mon, 1 Aug 2011 12:42:23 +0000 (UTC)
commit 8d642ea9447653a38dc22ad25d06749862a0338e
Author: David Woodhouse <David Woodhouse intel com>
Date: Mon Aug 1 13:42:02 2011 +0100
Handle <PostItem> type added in Exchange 2007SP1
src/server/e-ews-item.c | 2 ++
src/server/e-ews-item.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/server/e-ews-item.c b/src/server/e-ews-item.c
index 5b1c4f6..22bb440 100644
--- a/src/server/e-ews-item.c
+++ b/src/server/e-ews-item.c
@@ -865,6 +865,8 @@ e_ews_item_set_from_soap_parameter (EEwsItem *item, ESoapParameter *param)
priv->attachment_id->change_key = e_soap_parameter_get_property (node, "ChangeKey");
} else if ((node = e_soap_parameter_get_first_child_by_name (param, "Message")))
priv->item_type = E_EWS_ITEM_TYPE_MESSAGE;
+ else if ((node = e_soap_parameter_get_first_child_by_name (param, "PostItem")))
+ priv->item_type = E_EWS_ITEM_TYPE_POST_ITEM;
else if ((node = e_soap_parameter_get_first_child_by_name (param, "CalendarItem")))
priv->item_type = E_EWS_ITEM_TYPE_CALENDAR_ITEM;
else if ((node = e_soap_parameter_get_first_child_by_name (param, "Contact"))) {
diff --git a/src/server/e-ews-item.h b/src/server/e-ews-item.h
index e81f159..bfdcc93 100644
--- a/src/server/e-ews-item.h
+++ b/src/server/e-ews-item.h
@@ -40,6 +40,7 @@ typedef struct _EEwsItemPrivate EEwsItemPrivate;
typedef enum {
E_EWS_ITEM_TYPE_UNKNOWN,
E_EWS_ITEM_TYPE_MESSAGE,
+ E_EWS_ITEM_TYPE_POST_ITEM,
E_EWS_ITEM_TYPE_CALENDAR_ITEM,
E_EWS_ITEM_TYPE_CONTACT,
E_EWS_ITEM_TYPE_GROUP,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]