[evolution-mapi/gnome-2-28] Bug #608862 - Remove attachments when none specified on item modify
- From: Milan Crha <mcrha src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-mapi/gnome-2-28] Bug #608862 - Remove attachments when none specified on item modify
- Date: Thu, 4 Feb 2010 13:10:41 +0000 (UTC)
commit f8e350b420aa1f03bfedbde4a34393f233c267bc
Author: Milan Crha <mcrha redhat com>
Date: Thu Feb 4 14:10:28 2010 +0100
Bug #608862 - Remove attachments when none specified on item modify
src/libexchangemapi/exchange-mapi-connection.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libexchangemapi/exchange-mapi-connection.c b/src/libexchangemapi/exchange-mapi-connection.c
index 262ddff..c652c8e 100644
--- a/src/libexchangemapi/exchange-mapi-connection.c
+++ b/src/libexchangemapi/exchange-mapi-connection.c
@@ -2286,6 +2286,8 @@ exchange_mapi_modify_item (uint32_t olFolder, mapi_id_t fid, mapi_id_t mid,
/* Set attachments if any */
if (attachments) {
exchange_mapi_util_set_attachments (&obj_message, attachments, TRUE);
+ } else {
+ exchange_mapi_util_delete_attachments (&obj_message);
}
/* Set recipients if any */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]