[evolution-ews] I#81 - Attachment flag not shown on messages with attachment
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] I#81 - Attachment flag not shown on messages with attachment
- Date: Thu, 5 Dec 2019 13:16:47 +0000 (UTC)
commit 3e116a9db2d47e8b4272ee82c3df4b66d9743643
Author: Milan Crha <mcrha redhat com>
Date: Thu Dec 5 14:17:57 2019 +0100
I#81 - Attachment flag not shown on messages with attachment
Closes https://gitlab.gnome.org/GNOME/evolution-ews/issues/81
src/camel/camel-ews-utils.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/camel/camel-ews-utils.c b/src/camel/camel-ews-utils.c
index 11873a88..7f7a16b0 100644
--- a/src/camel/camel-ews-utils.c
+++ b/src/camel/camel-ews-utils.c
@@ -41,6 +41,7 @@
#define SUBFOLDER_DIR_NAME "subfolders"
#define SUBFOLDER_DIR_NAME_LEN 10
+#define EWS_MAPI_MSGFLAG_HASATTACH 0x10
#define EWS_MAPI_MSGFLAG_RN_PENDING 0x100
CamelFolderInfo *
@@ -643,7 +644,8 @@ ews_utils_get_server_flags (EEwsItem *item)
if ((msg_flags & EWS_MAPI_MSGFLAG_RN_PENDING) != 0)
server_flags |= CAMEL_EWS_MESSAGE_MSGFLAG_RN_PENDING;
- /* TODO Update replied flags */
+ if ((msg_flags & EWS_MAPI_MSGFLAG_HASATTACH) != 0)
+ server_flags |= CAMEL_MESSAGE_ATTACHMENTS;
return server_flags;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]