[evolution-ews] Bug 255032 - Be able to write a note on a mail
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews] Bug 255032 - Be able to write a note on a mail
- Date: Mon, 21 Sep 2015 14:18:42 +0000 (UTC)
commit b71b5692725b2a932ffe0ccd0aaf595b07d0e94d
Author: Milan Crha <mcrha redhat com>
Date: Mon Sep 21 16:18:30 2015 +0200
Bug 255032 - Be able to write a note on a mail
src/camel/camel-ews-summary.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/camel/camel-ews-summary.c b/src/camel/camel-ews-summary.c
index 1f10cb2..05e14c9 100644
--- a/src/camel/camel-ews-summary.c
+++ b/src/camel/camel-ews-summary.c
@@ -327,16 +327,20 @@ ews_update_user_flags (CamelMessageInfo *info,
{
gboolean changed = FALSE;
CamelMessageInfoBase *binfo = (CamelMessageInfoBase *) info;
- gboolean set_cal = FALSE;
+ gboolean set_cal = FALSE, set_note = FALSE;
if (camel_flag_get (&binfo->user_flags, "$has_cal"))
set_cal = TRUE;
+ if (camel_flag_get (&binfo->user_flags, "$has_note"))
+ set_note = TRUE;
changed = camel_flag_list_copy (&binfo->user_flags, &server_user_flags);
- /* reset the calendar flag if it was set in messageinfo before */
+ /* reset the flags as they were set in messageinfo before */
if (set_cal)
camel_flag_set (&binfo->user_flags, "$has_cal", TRUE);
+ if (set_note)
+ camel_flag_set (&binfo->user_flags, "$has_note", TRUE);
return changed;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]